Added a view healthchecks
This commit is contained in:
parent
063ff194e2
commit
0520815da1
8 changed files with 75 additions and 16 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue