-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 1.02 KB
/
docker-compose.yml
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
35
36
37
38
39
40
41
42
43
version: '3.5'
services:
exim4:
image: pinidh/exim4:latest
container_name: ${SERVER_HOSTNAME}
hostname: ${SERVER_HOSTNAME}
domainname: ${SERVER_DOMAINNAME}
restart: always
ports:
- '25:25'
env_file:
- env_plugins
volumes:
- cert:/var/spool/exim4/cert
#- dkim:/var/spool/exim4/dkim
#- mailman_core-vol:/opt/lists.example.com:ro
environment:
- SERVER_MAILNAME
- LOCAL_DOMAINS
- EXIM4_TLS_ENABLE
- EXIM4_TLS_CERTIFICATE
- EXIM4_TLS_PRIVATEKEY
# Change to 'TRUE' to enable dkim signature
#-EXIM4_DKIM_SIGNATURE_ENABLE=FALSE
#-EXIM4_DKIM_DOMAIN=lists.example.com
#-EXIM4_DKIM_SELECTOR=default
#-EXIM4_DKIM_PRIVATE_KEY=/var/spool/exim4/dkim/dkim.private
#-EXIM4_DKIM_CANON=relaxed
#-EXIM4_DKIM_STRICT=1
networks:
bridge:
volumes:
cert:
# dkim:
# mailman_core-vol:
# external: true
# # Name of the core-vol volume of the mailman-core container
# name: mailman_core-vol
networks:
bridge: