Use port numbers from environment variables in docker-compose.dev.yml (#2406)
This commit is contained in:
parent
e60fe48fdd
commit
2a71cb66de
@ -7,7 +7,7 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- ${POSTGRES_PORT:-5432}:5432
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
redis:
|
redis:
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
container_name: redis
|
container_name: redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- ${REDIS_PORT:-6379}:6379
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres:
|
postgres:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user