MAke SMTP port optional
This commit is contained in:
parent
492c3c10c9
commit
6abd637efa
|
@ -15,3 +15,7 @@ export TRAEFIK_YML_VERSION=v1
|
||||||
#export FILE_PROVIDER_ENABLED=1
|
#export FILE_PROVIDER_ENABLED=1
|
||||||
## Options for file-provider / Keycloak SSO
|
## Options for file-provider / Keycloak SSO
|
||||||
#export FILE_PROVIDER_YML_VERSION=v1
|
#export FILE_PROVIDER_YML_VERSION=v1
|
||||||
|
|
||||||
|
## SMTP port 587
|
||||||
|
#export COMPOSE_FILE="compose.yml:compose.smtp.yml"
|
||||||
|
#export SMTP_ENABLED=1
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
traefik:
|
||||||
|
ports:
|
||||||
|
- "587:587"
|
|
@ -28,8 +28,10 @@ entrypoints:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
gitea-ssh:
|
gitea-ssh:
|
||||||
address: ":2222"
|
address: ":2222"
|
||||||
|
{{ if eq (env "SMTP_ENABLED") "1" }}
|
||||||
smtp-submission:
|
smtp-submission:
|
||||||
address: ":587"
|
address: ":587"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
ping:
|
ping:
|
||||||
entryPoint: web
|
entryPoint: web
|
||||||
|
|
Loading…
Reference in New Issue