-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retain db across restart or server reboots #136
Comments
Hi @prasadbmore To fix this you need to set ./deploy_to_env.sh and settings.env(export spring_profiles_active=production). Step 1 in deploy.sh file. set start it updocker-compose up --build --force-recreate -d Step 2. In docker-compose.yml set pg_data as external volume. pg-data:
external: true Thank you |
We have setup an instance following the steps mentioned and are able to play with demo data.
Further we went ahead and added our own data like new programs, facilities, users, etc. But this data is getting wiped across reboots and restarts. We tried production mode option, but still the data is getting wiped - actually with production mode we are not able to login. Is there any step we are missing - or particular sequence of steps to keep the newly added data from getting wiped?
Any help or pointers would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: