db port variable added

This commit is contained in:
Kruti Shah 2025-10-12 23:58:14 +05:30 committed by hitanshu310
parent f99ed01a54
commit 0d576eb9a7

View File

@ -26,6 +26,6 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
restart: unless-stopped restart: unless-stopped
ports: ports:
- "5432:5432" - "${DB_PORT}:5432"
volumes: volumes:
- ${DB_PATH}:/var/lib/postgresql/data - ${DB_PATH}:/var/lib/postgresql/data