Merge pull request 'grafana - remove error in jinja templating' (#5) from grafana-whitelist into master
Reviewed-on: #5
This commit is contained in:
commit
aca249b5c2
@ -70,7 +70,7 @@ services:
|
|||||||
{% if grafana_traefik_ipwhitelist is defined %}
|
{% if grafana_traefik_ipwhitelist is defined %}
|
||||||
traefik.http.middlewares.grafana-clientips.ipwhitelist.sourcerange: {{ grafana_traefik_ipwhitelist }}
|
traefik.http.middlewares.grafana-clientips.ipwhitelist.sourcerange: {{ grafana_traefik_ipwhitelist }}
|
||||||
traefik.http.routers.grafana.middlewares: "grafana-clientips@docker"
|
traefik.http.routers.grafana.middlewares: "grafana-clientips@docker"
|
||||||
{% else %}
|
{% endif %}
|
||||||
ports:
|
ports:
|
||||||
- "{{ grafana_port | default(3000) }}:3000"
|
- "{{ grafana_port | default(3000) }}:3000"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -103,7 +103,7 @@ services:
|
|||||||
{% if prometheus_traefik_ipwhitelist is defined %}
|
{% if prometheus_traefik_ipwhitelist is defined %}
|
||||||
traefik.http.middlewares.prometheus-clientips.ipwhitelist.sourcerange: {{ prometheus_traefik_ipwhitelist }}
|
traefik.http.middlewares.prometheus-clientips.ipwhitelist.sourcerange: {{ prometheus_traefik_ipwhitelist }}
|
||||||
traefik.http.routers.prometheus.middlewares: "prometheus-clientips@docker"
|
traefik.http.routers.prometheus.middlewares: "prometheus-clientips@docker"
|
||||||
{% else %}
|
{% endif %}
|
||||||
ports:
|
ports:
|
||||||
- "{{ prometheus_port | default(9090) }}:9090"
|
- "{{ prometheus_port | default(9090) }}:9090"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user