M48: harden demo operations and offsite recovery
This commit is contained in:
@@ -17,6 +17,11 @@ services:
|
||||
- mobilityops-prometheus:/prometheus
|
||||
ports:
|
||||
- "127.0.0.1:19090:9090"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:9090/-/ready"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
networks: [mobilityops]
|
||||
|
||||
@@ -61,6 +66,11 @@ services:
|
||||
- mobilityops-grafana:/var/lib/grafana
|
||||
ports:
|
||||
- "127.0.0.1:13000:3000"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://127.0.0.1:3000/api/health | grep -Eq '\"database\"[[:space:]]*:[[:space:]]*\"ok\"'"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
depends_on: [prometheus, alertmanager]
|
||||
restart: unless-stopped
|
||||
networks: [mobilityops]
|
||||
|
||||
Reference in New Issue
Block a user