Make postgres configurable via env vars in dev

This commit is contained in:
Eliot Berriot 2019-10-21 23:02:46 +02:00
parent d1fcea5632
commit 6197631960
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ services:
- .env.dev - .env.dev
- .env - .env
image: postgres:${POSTGRES_VERSION-11} image: postgres:${POSTGRES_VERSION-11}
command: postgres -c log_min_duration_statement=0 command: postgres ${POSTGRES_ARGS-}
volumes: volumes:
- "./data/${COMPOSE_PROJECT_NAME-node1}/postgres:/var/lib/postgresql/data" - "./data/${COMPOSE_PROJECT_NAME-node1}/postgres:/var/lib/postgresql/data"
networks: networks: