-
Notifications
You must be signed in to change notification settings - Fork 31
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
db persistence #379
Comments
Hey @colossus-digital I suggest that you run the containers using To take down the container you can use |
tnks, you are right, docker-compose stop or kill is the way to go instead of down but is there a way to make the db's volume persistent?
|
Yeah it was for that purpose. In fact if you compare the current docker-compose.yml file with the previous version you could see that db-data was used in the mongo service which is something we missed for the current release. You could try out something similar, but I am not sure wether it would work because it may need further investigation due to the use of replica sets now. |
got it, tnks |
Replica of #376 |
hi, is there a way to make the db persistent ? Every time i stop and restart the containers, all config/data are gone.
Am I doing something wrong?
start :
docker-compose up -d --build
(I need the build flag every time ? )stop:
docker-compose down
is there something to configure that i am missing (into the .env or the docker-compose.yml files)?
The text was updated successfully, but these errors were encountered: