This repository has been archived on 2025-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
esh/esh_mailcow/templates/default/docker-compose.override.yml.erb

23 lines
655 B
Text
Raw Normal View History

2025-02-15 00:56:26 +09:00
##
## Set haproxy_trusted_networks in Dovecots extra.conf!
##
services:
dovecot-mailcow:
ports:
- "${IMAP_PORT_HAPROXY:-0.0.0.0:10143}:10143"
- "${IMAPS_PORT_HAPROXY:-0.0.0.0:10993}:10993"
- "${POP_PORT_HAPROXY:-0.0.0.0:10110}:10110"
- "${POPS_PORT_HAPROXY:-0.0.0.0:10995}:10995"
- "${SIEVE_PORT_HAPROXY:-0.0.0.0:14190}:14190"
postfix-mailcow:
ports:
- "${SMTP_PORT_HAPROXY:-0.0.0.0:10025}:10025"
- "${SMTPS_PORT_HAPROXY:-0.0.0.0:10465}:10465"
- "${SUBMISSION_PORT_HAPROXY:-0.0.0.0:10587}:10587"
environment:
- MAILCOW_HOSTNAME=<%= @mailcow_hostname %>