This commit is contained in:
2026-03-12 17:20:32 +08:00
parent 8b2a506177
commit 2c226e2df2

View File

@@ -19,7 +19,7 @@ services:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
- ../scripts/init_database:/docker-entrypoint-initdb.d - ../scripts/init_database:/docker-entrypoint-initdb.d
ports: ports:
- "${POSTGRES_PORT:-5433}:5432" - "${POSTGRES_PORT:-5434}:5432"
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s interval: 10s