Added a view healthchecks
This commit is contained in:
parent
063ff194e2
commit
0520815da1
8 changed files with 75 additions and 16 deletions
|
@ -47,6 +47,10 @@ services:
|
|||
- POSTGRES_DB=grafana
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
labels:
|
||||
- "docker.group=monitoring"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue