default enviroment variables

This commit is contained in:
2026-01-19 14:32:48 -05:00
parent 2cc1005b02
commit 5d78e723a7

View File

@@ -5,8 +5,8 @@ services:
volumes: volumes:
- postgres:/var/lib/postgresql - postgres:/var/lib/postgresql
environment: environment:
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB:-naliia}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-SUp3r-pass*DB}
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s interval: 10s