This commit is contained in:
Rich Tibbett 2017-06-13 01:59:10 +00:00 committed by GitHub
commit a57a920289

View file

@ -112,7 +112,7 @@ upstream {{ $upstream_name }} {
{{ range $knownNetwork := $CurrentContainer.Networks }} {{ range $knownNetwork := $CurrentContainer.Networks }}
{{ range $containerNetwork := $container.Networks }} {{ range $containerNetwork := $container.Networks }}
{{ if eq $knownNetwork.Name $containerNetwork.Name }} {{ if (and (ne $containerNetwork.Name "ingress") (eq $knownNetwork.Name $containerNetwork.Name)) }}
## Can be connect with "{{ $containerNetwork.Name }}" network ## Can be connect with "{{ $containerNetwork.Name }}" network
{{/* If only 1 port exposed, use that */}} {{/* If only 1 port exposed, use that */}}