This commit is contained in:
Andros Fenollosa 2024-09-01 21:55:39 +02:00
parent c23b6afbe8
commit 31a24122d5

View File

@ -9,6 +9,8 @@ services:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- ./data_postgresql:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 30s