We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b6cd40 commit 6acaf65Copy full SHA for 6acaf65
docker-compose.yml
@@ -1,12 +1,13 @@
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_PORT: ${POSTGRES_PORT:-5432}
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
8
+ POSTGRES_DB: ${POSTGRES_DB:-postgres_doctrine_test}
9
ports:
- - "5432:5432"
10
+ - "${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}"
11
volumes:
12
- postgres_data:/var/lib/postgresql/data
13
healthcheck:
0 commit comments