upstream api-grafana { | |
{{range service "grafana-web-ui" "any"}} | |
server {{.Address}}:{{.Port}}; | |
{{end}} | |
} | |
upstream api-consul { | |
{{range service "consul-rest" "any"}} | |
server {{.Address}}:{{.Port}}; | |
{{end}} | |
} | |
upstream api-docker { | |
{{range service "portainer" "any"}} | |
server {{.Address}}:{{.Port}}; | |
{{end}} | |
} |