Make postgres configurable via env vars in dev
This commit is contained in:
parent
d1fcea5632
commit
6197631960
2
dev.yml
2
dev.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue