ashleywang1 / ECTC_tournament_manager

Docker version of https://github.com/ashish-b10/tournament_manager
0 stars 1 forks source link

Persistent Docker Volumes #3

Open ashleywang1 opened 5 years ago

ashleywang1 commented 5 years ago

I would like to make sure that the Postgres container is storing all of its data in a volume on the host, since obviously we want to make sure that all the data is held persistently on the disk should Docker stop (whether it crashes or we stop it manually). Can you look into how to do this as well?

ashleywang1 commented 5 years ago

The best way to do this is to use docker-compose stop/start instead of docker-compose up/down. Just do docker-compose up to set up the entire thing.