[Feature] Add HAProxy listeners and an example override file

This commit is contained in:
andryyy
2020-07-04 19:30:40 +02:00
parent e40a0eae01
commit 0cfdd763f8
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
##
## Set haproxy_trusted_networks in Dovecots extra.conf!
version: '2.1'
services:
dovecot-mailcow:
ports:
- "${IMAP_PORT_HAPROXY:-127.0.0.1:10143}:10143"
- "${IMAPS_PORT_HAPROXY:-127.0.0.1:10993}:10993"
- "${POP_PORT_HAPROXY:-127.0.0.1:10110}:10110"
- "${POPS_PORT_HAPROXY:-127.0.0.1:10995}:10995"
postfix-mailcow:
ports:
- "${SMTP_PORT_HAPROXY:-127.0.0.1:10025}:10025"
- "${SMTPS_PORT_HAPROXY:-127.0.0.1:10465}:10465"
- "${SUBMISSION_PORT_HAPROXY:-127.0.0.1:10587}:10587"