- With Docker the Postgres data must live in a volume.
- The provided docker-compose files persist it in volumes, so the data was lost because the volumes were deleted or the setup did not mount one.
- Do not remove the volumes when you recreate containers (avoid docker compose down -v) and back them up.
OpenMU: after a restart all my configuration and data were gone and the database was initialized again.
Persoana care a deschis issue-ul a confirmat că asta a rezolvat problema.
În raportul problemei, 2023-11-11 (cuvintele originale)Cuvintele originale (engleză)
“When using the provided docker-compose files, the data of the postgres container is persisted in volumes.”