forked from coop-cloud/traefik
If/else the additional ports
Closes https://git.autonomic.zone/coop-cloud/traefik/issues/9.
This commit is contained in:
parent
18a64fdce1
commit
10cad093dc
|
@ -24,10 +24,14 @@ entrypoints:
|
|||
to: web-secure
|
||||
web-secure:
|
||||
address: ":443"
|
||||
{{ if eq (env "GITEA_SSH_ENABLED") "1" }}
|
||||
gitea-ssh:
|
||||
address: ":2222"
|
||||
{{ end }}
|
||||
{{ if eq (env "FOODSOFT_SMTP_ENABLED") "1" }}
|
||||
foodsoft-smtp:
|
||||
address: ":2525"
|
||||
{{ end }}
|
||||
{{ if eq (env "SMTP_ENABLED") "1" }}
|
||||
smtp-submission:
|
||||
address: ":587"
|
||||
|
|
Loading…
Reference in New Issue