forked from coop-cloud/traefik
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
|
||||
## Options for file-provider / Keycloak SSO
|
||||
#export FILE_PROVIDER_YML_VERSION=v1
|
||||
|
||||
## SMTP port 587
|
||||
#export COMPOSE_FILE="compose.yml:compose.smtp.yml"
|
||||
#export SMTP_ENABLED=1
|
||||
|
7
compose.smtp.yml
Normal file
7
compose.smtp.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
ports:
|
||||
- "587:587"
|
@ -28,8 +28,10 @@ entrypoints:
|
||||
address: ":443"
|
||||
gitea-ssh:
|
||||
address: ":2222"
|
||||
{{ if eq (env "SMTP_ENABLED") "1" }}
|
||||
smtp-submission:
|
||||
address: ":587"
|
||||
{{ end }}
|
||||
|
||||
ping:
|
||||
entryPoint: web
|
||||
|
Loading…
Reference in New Issue
Block a user