From 98fa66b5ad13c8f203fcfe40d42240417951f218 Mon Sep 17 00:00:00 2001 From: Georg Date: Mon, 13 Sep 2021 09:40:35 +0200 Subject: Init MC update + Dovecot/SOGo LDAP configuration Signed-off-by: Georg --- mailcow/docker-compose.override.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mailcow/docker-compose.override.yml (limited to 'mailcow/docker-compose.override.yml') diff --git a/mailcow/docker-compose.override.yml b/mailcow/docker-compose.override.yml new file mode 100644 index 0000000..be769e2 --- /dev/null +++ b/mailcow/docker-compose.override.yml @@ -0,0 +1,34 @@ +version: '2.1' +services: + + ldap-mailcow: + image: mailcow/ldap + network_mode: host + container_name: mailcowcustomized_ldap + depends_on: + - nginx-mailcow + volumes: + - ./data/ldap:/db:rw + - ./data/conf/dovecot:/conf/dovecot:rw + - ./data/conf/sogo:/conf/sogo:rw + environment: + - LDAP-MAILCOW_LDAP_HOST=ldaps://orpheus.syscid.com + - LDAP-MAILCOW_LDAP_BASE_DN=OU=syscid-users,DC=syscid,DC=com + - LDAP-MAILCOW_LDAP_BIND_DN=$BINDDN + - LDAP-MAILCOW_LDAP_BIND_DN_PASSWORD=$BINDSEC + - LDAP-MAILCOW_LDAP_FILTER=(objectClass=inetOrgPerson) + - LDAP-MAILCOW_LDAP_FIELDS_MAIL=mail + - LDAP-MAILCOW_LDAP_FIELDS_NAME=cn + - LDAP-MAILCOW_API_HOST=$MAILCOWHOST + - LDAP-MAILCOW_API_KEY=$MAILCOWAPI + - LDAP-MAILCOW_API_SSL_VERIFY=1 + - LDAP-MAILCOW_SYNC_INTERVAL=300 + - LDAP-MAILCOW_EMAIL_DOMAINS=syscid.com + + dovecot-mailcow: + extra_hosts: + - "orpheus.syscid.com:192.168.0.115" + + sogo-mailcow: + extra_hosts: + - "orpheus.syscid.com:192.168.0.115" -- cgit v1.2.3