From 2a71cb66de339a064ee511f9d680ea904204709d Mon Sep 17 00:00:00 2001 From: Prashanth Mohan Date: Sun, 8 Oct 2023 02:18:13 +1100 Subject: [PATCH] Use port numbers from environment variables in docker-compose.dev.yml (#2406) --- docker/docker-compose.dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 38e38f30d..7c6e5e28a 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -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: