summaryrefslogtreecommitdiffstats
path: root/mailcow/docker-compose.override.yml
blob: be769e2d958a8346fb5ffb6f9bb8b7041a15eab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"