Added a view healthchecks

This commit is contained in:
Florian Zirker 2023-06-09 08:58:54 +02:00
parent 063ff194e2
commit 0520815da1
8 changed files with 75 additions and 16 deletions

View file

@ -40,6 +40,10 @@ services:
volumes:
- ${VOLUMES_PATH}/firefoxsync/db:/var/lib/postgresql/data
user: ${UID}:${GID}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s
timeout: 5s
labels:
- "docker.group=firefoxsync"