Skip to content

Commit

Permalink
Merge pull request #175 from philrwebb/fix_db-data_volume_path
Browse files Browse the repository at this point in the history
The volume path for db-data was wrong.   needed data sub-folder.   Without that wasn't persisting the db on stop of container.
  • Loading branch information
martialblog authored Oct 27, 2023
2 parents 30ccc35 + c1ea856 commit 96cc3ca
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 96cc3ca

Please sign in to comment.