Everytime I restart the container, Asking to install from the beginning
Closed this issue · 2 comments
aravindmusigumpula commented
Hi,
I have run the docker image and configured some ads. But after I stopped and restarted the container, revive adserver is asking to again install the DB.
How can I avoid it.
Starting adserver with below command.
docker run -p 801:80 -d krish512/revive
How can I skip the installation every time I restart the container.
aravindmusigumpula commented
If I install revive adserver without using this image, the above problem doesn't arise
krish512 commented
You need to attach a volume so that it can persist the installed data in that volume
Revive is a stateful application and you need to ensure you store its state in a persistent storage which is available on every reboot of the container