1
0

postgress: add healthcheck

This commit is contained in:
2025-12-01 12:12:16 +01:00
parent ea6c307b14
commit 96d264f7c3
+8
View File
@@ -9,3 +9,11 @@ services:
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
healthcheck:
interval: 30s
retries: 5
start_period: 20s
test:
- CMD-SHELL
- pg_isready
timeout: 5s