We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6cd40 commit 8a8025aCopy full SHA for 8a8025a
docker-compose.yml
@@ -1,12 +1,12 @@
1
services:
2
postgres:
3
- image: postgres:17
+ image: postgres:${POSTGRES_VERSION:-17}
4
environment:
5
- POSTGRES_USER: postgres
6
- POSTGRES_PASSWORD: postgres
7
- POSTGRES_DB: postgres_doctrine_test
+ POSTGRES_USER: ${POSTGRES_USER:-postgres}
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
+ POSTGRES_DB: ${POSTGRES_DB:-postgres_doctrine_test}
8
ports:
9
- - "5432:5432"
+ - "${POSTGRES_PORT:-5432}:5432"
10
volumes:
11
- postgres_data:/var/lib/postgresql/data
12
healthcheck:
0 commit comments