diff --git a/swarm/prometheus.yml b/swarm/prometheus.yml index d98976c..ac2d40d 100644 --- a/swarm/prometheus.yml +++ b/swarm/prometheus.yml @@ -41,5 +41,5 @@ services: - traefik.http.routers.prometheus-https.entrypoints=https - traefik.http.routers.prometheus-https.tls=true - traefik.http.routers.prometheus-https.tls.certresolver=le + - traefik.http.routers.prometheus-https.middlewares=admin-auth@swarm - traefik.http.services.prometheus.loadbalancer.server.port=9090 - - traefik.http.routers.prometheus.middlewares=admin-auth@swarm