optionally allow setting smtp address binds
if mailcow smtp, smtps and submission should not listen on all addresses, the variables SMTP_BIND, SMTPS_BIND and SUBMISSION_BIND can now be used
This commit is contained in:
parent
a8c61daeaf
commit
07d6a33ba1
|
@ -319,9 +319,9 @@ services:
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_BIND_SERVICE
|
- NET_BIND_SERVICE
|
||||||
ports:
|
ports:
|
||||||
- "${SMTP_PORT:-25}:25"
|
- "${SMTP_BIND:-}:${SMTP_PORT:-25}:25"
|
||||||
- "${SMTPS_PORT:-465}:465"
|
- "${SMTPS_BIND:-}:${SMTPS_PORT:-465}:465"
|
||||||
- "${SUBMISSION_PORT:-587}:587"
|
- "${SUBMISSION_BIND:-}:${SUBMISSION_PORT:-587}:587"
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
dns:
|
||||||
- ${IPV4_NETWORK:-172.22.1}.254
|
- ${IPV4_NETWORK:-172.22.1}.254
|
||||||
|
|
Loading…
Reference in New Issue