Browse Source

Fix db-data volume in docker-compose.yml

Use data folder otherwise a second volume is created that becomes orphaned after a docker-compose down.
pull/555/head
Yann Papouin 3 years ago
committed by GitHub
parent
commit
93b80fa19a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docker/docker-compose.yml

+ 1
- 1
docker/docker-compose.yml View File

@ -6,7 +6,7 @@ services:
db:
image: postgres:12
volumes:
- db-data:/var/lib/postgresql
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=$DB_NAME
- POSTGRES_PASSWORD=$DB_PASSWORD


Loading…
Cancel
Save