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
|
||||
ports:
|
||||
- 5432:5432
|
||||
- ${POSTGRES_PORT:-5432}:5432
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
redis:
|
||||
@ -15,7 +15,7 @@ services:
|
||||
container_name: redis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 6379:6379
|
||||
- ${REDIS_PORT:-6379}:6379
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
|
Loading…
x
Reference in New Issue
Block a user