Skip to content

Commit

Permalink
The volume path for db-data was wrong. needed data sub-folder. Withou…
Browse files Browse the repository at this point in the history
…t that wasn't persisting the db on stop of container.
  • Loading branch information
philrwebb authored Oct 27, 2023
1 parent 30ccc35 commit c1ea856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1ea856

Please sign in to comment.