open-eats / OpenEats

:pizza: Self Hosted Recipe Management App :hamburger:
https://open-eats.github.io/
MIT License
669 stars 102 forks source link

Fix persistence for DB container. #122

Closed hertfelder closed 4 years ago

hertfelder commented 4 years ago

The database is currently not persisted in a docker volume, although the volume database exists. Thus, when the container db is removed, the whole database is lost (unless you have a backup).

This looks like a migration bug since in the legacy docker-compose.yml file it is still in. In docker-{prod,stage}.yml, it is missing, though.

hertfelder commented 4 years ago

Closes #112

hertfelder commented 4 years ago

@RyanNoelk This might be a serious bug for people who do not have additional database backup (e.g. via the quickstart script, ...).