Add Prometheus, Grafana and Targets

This commit is contained in:
2023-04-16 16:10:44 +02:00
parent 3468572ee5
commit f107c0c3c5
12 changed files with 547 additions and 359 deletions

View File

@@ -56,9 +56,11 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.hedgedoc.rule=Host(`doc.tobiasmanske.de`)"
- "traefik.http.routers.hedgedoc.middlewares=deny-metrics@file"
- "traefik.http.routers.hedgedoc.entryPoints=websecure"
- "traefik.http.services.hedgedoc.loadbalancer.server.port=3000"
- "com.centurylinklabs.watchtower.scope=update"
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=3000"
depends_on:
database:
condition: service_healthy