Health Checks eingebaut
This commit is contained in:
parent
61dca5242e
commit
613df62e32
5 changed files with 34 additions and 1 deletions
|
|
@ -3,6 +3,11 @@ services:
|
|||
image: grafana/grafana
|
||||
container_name: grafana
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:3000/api/health" ]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
user: '0'
|
||||
ports:
|
||||
- '3000:3000'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue