towards healthchecks for all containers
This commit is contained in:
@@ -2,12 +2,6 @@ services:
|
||||
grafana:
|
||||
container_name: grafana
|
||||
image: grafana/grafana:11.4.0
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3000"]
|
||||
interval: 20s
|
||||
start_period: 30s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
ports:
|
||||
- 3333:3000
|
||||
restart: unless-stopped
|
||||
@@ -19,3 +13,9 @@ services:
|
||||
# - /opt/grafana/grafana.ini:/etc/grafana/grafana.ini
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3000"]
|
||||
interval: 20s
|
||||
start_period: 30s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user