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/563/head
Yann Papouin 3 years ago
committed by Pēteris Caune
parent
commit
b5fd5cfaed
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