set port cadvisor in variables
This commit is contained in:
		| @@ -75,6 +75,16 @@ | |||||||
|   when: prometheus_docker_exporter_targets is defined |   when: prometheus_docker_exporter_targets is defined | ||||||
|   notify: "grafana-prometheus-restart" |   notify: "grafana-prometheus-restart" | ||||||
|  |  | ||||||
|  | - name: "grafana-prometheus | import grafana docker dashboard" | ||||||
|  |   copy: | ||||||
|  |     src: dashboards/docker.json | ||||||
|  |     dest: /opt/docker-compose/grafana-prometheus/dashboards/docker.json | ||||||
|  |     owner: '1000' | ||||||
|  |     group: '1000' | ||||||
|  |     mode: '0750' | ||||||
|  |   when: prometheus_cadvisor_exporter_targets is defined | ||||||
|  |   notify: "grafana-prometheus-restart" | ||||||
|  |  | ||||||
| - name: "grafana-prometheus | import grafana haproxy dashboard" | - name: "grafana-prometheus | import grafana haproxy dashboard" | ||||||
|   copy: |   copy: | ||||||
|     src: dashboards/haproxy.json |     src: dashboards/haproxy.json | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ version: "3" | |||||||
|  |  | ||||||
| networks: | networks: | ||||||
|   grafana: |   grafana: | ||||||
|     name: grafana |  | ||||||
| {% if grafana_traefik_enable is defined %} | {% if grafana_traefik_enable is defined %} | ||||||
|   traefik: |   traefik: | ||||||
|     external: true |     external: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user