If/else the additional ports
continuous-integration/drone/push Build is failing Details

Closes #9.
This commit is contained in:
Luke Murphy 2021-02-14 15:26:52 +01:00
parent 18a64fdce1
commit 10cad093dc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 4 additions and 0 deletions

View File

@ -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"