Use port numbers from environment variables in docker-compose.dev.yml (#2406)

pull/2429/head
Prashanth Mohan 8 months ago committed by GitHub
parent e60fe48fdd
commit 2a71cb66de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save