The volume path for db-data was wrong. needed data sub-folder. Without that wasn't persisting the db on stop of container.

This commit is contained in:
Philip Webb
2023-10-27 08:21:07 +08:00
committed by GitHub
parent 30ccc35721
commit c1ea856389

View File

@@ -25,7 +25,7 @@ services:
image: docker.io/postgres:10-alpine
restart: always
volumes:
- db-data:/var/lib/postgresql
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=limesurvey
- POSTGRES_DB=limesurvey