diff --git a/grafana/docker-compose.yml b/grafana/docker-compose.yml new file mode 100644 index 0000000..338a04d --- /dev/null +++ b/grafana/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3.8" +services: + grafana: + image: grafana/grafana-enterprise + container_name: grafana + restart: unless-stopped + ports: + - '8086:3000' + volumes: + - grafana-storage:/var/lib/grafana +volumes: + grafana-storage: {} \ No newline at end of file diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 89b659c..dd3bf54 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -76,6 +76,11 @@ http: service: "service-flaresolverr" tls: certResolver: myresolver + router-grafana: + rule: "Host(`grafana.huguette.ovh`)" + service: "service-grafana" + tls: + certResolver: myresolver services: service-dsm: @@ -138,7 +143,11 @@ http: passHostHeader: true servers: - url: "http://192.168.1.100:8191" - + service-grafana: + loadBalancer: + passHostHeader: true + servers: + - url: "http://192.168.1.100:8086" middlewares: replacepathregex-nas: