diff options
author | Georg | 2021-09-13 09:40:35 +0200 |
---|---|---|
committer | Georg | 2021-09-13 09:40:35 +0200 |
commit | 98fa66b5ad13c8f203fcfe40d42240417951f218 (patch) | |
tree | 4362ad67e5934e3b5782057edbad24fb8aac11dd /mailcow/docker-compose.override.yml | |
parent | 01da6ddafef02de1ea17bda689229a9ff77031e8 (diff) | |
download | email-98fa66b5ad13c8f203fcfe40d42240417951f218.tar.gz email-98fa66b5ad13c8f203fcfe40d42240417951f218.tar.bz2 email-98fa66b5ad13c8f203fcfe40d42240417951f218.zip |
Init MC update + Dovecot/SOGo LDAP configuration
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'mailcow/docker-compose.override.yml')
-rw-r--r-- | mailcow/docker-compose.override.yml | 34 |
1 files changed, 34 insertions, 0 deletions
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" |