towards healthchecks for all containers

This commit is contained in:
2026-02-04 18:11:49 +01:00
parent 7f45788b3d
commit ab2f707706
42 changed files with 245 additions and 19 deletions

View File

@@ -22,6 +22,11 @@ services:
- /opt/teslamate/import:/opt/app/import
cap_drop:
- all
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000"]
interval: 30s
timeout: 10s
retries: 3
teslamate-grafana:
image: teslamate/grafana:2.1.0
@@ -43,3 +48,8 @@ services:
- /opt/teslamate/grafana:/var/lib/grafana
- /opt/teslamate/achievements/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml
- /opt/teslamate/achievements/dashboards:/TeslaMateAchievements
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3