mailcow/helper-scripts/docker-compose.override.yml.d/HAPROXY/docker-compose.override.yml
2022-11-23 22:10:57 +09:00

21 lines
614 B
YAML

##
## 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"
- "${SIEVE_PORT_HAPROXY:-127.0.0.1:14190}:14190"
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"