chore(docker): update PostgreSQL environment variables in docker-compose files to support default values (#374)

This commit is contained in:
Aditya Tripathi
2025-05-19 03:19:50 +05:30
committed by GitHub
parent ef31a2fe7b
commit c7866c8388
2 changed files with 6 additions and 6 deletions

View File

@@ -44,9 +44,9 @@ services:
ports: ports:
- '5432:5432' - '5432:5432'
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
- POSTGRES_DB=simstudio - POSTGRES_DB=${POSTGRES_DB:-simstudio}
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
healthcheck: healthcheck:

View File

@@ -41,9 +41,9 @@ services:
ports: ports:
- '5432:5432' - '5432:5432'
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
- POSTGRES_DB=simstudio - POSTGRES_DB=${POSTGRES_DB:-simstudio}
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
healthcheck: healthcheck: