effortless-mgmt / EffortlessBackend

https://www.effortless.dk/
1 stars 0 forks source link

Docker deployment should not delete database #104

Open algorythm opened 5 years ago

algorythm commented 5 years ago

When deploying to the servers, the server runs

docker-compose --file docker-compose.{environment}.yml down && \
docker-compose --file docker-compose.{environment}.yml up -d --build

That script includes a postgresql, which was fine while testing, though as we are getting closer to an actual system, the database should stop being changed for each release.