add a variable for traefik entrypoint on prometheus container

This commit is contained in:
tom.chivert 2023-03-17 09:19:55 +01:00
parent e3be1c620e
commit 27f7ca40ea

View File

@ -89,7 +89,7 @@ services:
traefik.http.routers.prometheus.rule: Host(`{{ prometheus_domain|default(omit) }}`)
traefik.http.routers.prometheus.tls: true
traefik.http.routers.prometheus.tls.certresolver: letsencrypt
traefik.http.routers.prometheus.entrypoints: websecure
traefik.http.routers.prometheus.entrypoints: "{{ grafana_traefik_entrypoint }}"
traefik.http.services.prometheus.loadbalancer.server.port: 9090
{% else %}
ports: