removed grafana and victoria

This commit is contained in:
2026-09-06 15:31:57 +02:00
parent 2da3685ad2
commit b7f98c2ccf
15 changed files with 407 additions and 379 deletions
+5 -34
View File
@@ -8,45 +8,16 @@ services:
HUE_VERIFY_TLS: ${HUE_VERIFY_TLS:-false}
COLLECT_INTERVAL_SECONDS: ${COLLECT_INTERVAL_SECONDS:-30}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
DATA_DIR: /data
volumes:
- hue-rrd-data:/data
ports:
- "${PUBLISH_ADDRESS:-0.0.0.0}:8000:8000"
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')"]
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')"]
interval: 30s
timeout: 5s
retries: 3
victoriametrics:
image: victoriametrics/victoria-metrics:v1.126.0
restart: unless-stopped
command:
- -storageDataPath=/victoria-metrics-data
- -promscrape.config=/etc/victoriametrics/scrape.yml
- -retentionPeriod=1y
volumes:
- victoria-metrics-data:/victoria-metrics-data
- ./config/victoriametrics/scrape.yml:/etc/victoriametrics/scrape.yml:ro
ports:
- "${PUBLISH_ADDRESS:-0.0.0.0}:8428:8428"
depends_on:
- hue-collector
grafana:
image: grafana/grafana:12.3.3
restart: unless-stopped
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_USERS_ALLOW_SIGN_UP: "false"
volumes:
- grafana-data:/var/lib/grafana
- ./config/grafana/provisioning:/etc/grafana/provisioning:ro
- ./config/grafana/dashboards:/var/lib/grafana/dashboards:ro
ports:
- "${PUBLISH_ADDRESS:-0.0.0.0}:3000:3000"
depends_on:
- victoriametrics
volumes:
victoria-metrics-data:
grafana-data:
hue-rrd-data: