Hi guys!
I’m trying to run grafana with prometheus and nodeexporter behind the traefik reverse proxy, but I cannot even get to the grafana login screen. Here is my docker code for grafana:
grafana:
image: "grafana/grafana"
container_name: "grafana"
volumes:
- "./grafana.ini:/etc/grafana/grafana.ini"
- "./datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml"
# links:
#- "prometheus"
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana-internal.rule=Host(`local.domain`) && Path(`/monitor`)"
- "traefik.http.routers.grafana-internal.entrypoints=local"
- "traefik.http.routers.grafana-internal.service=grafana-service"
- "traefik.http.services.grafana-service.loadbalancer.server.port=3000"
The grafana.ini file is left in defaults apart from
serve_from_sub_path = true
Once I go local.domain:traefik_port/moitor it redirects me to local.domain:traefik_port/login and gives me 404. Is there some check with this redirection? Or do I miss something here?
Thanks guys a lot for any feedback
onbartik