2020-10-27 11:21:10 +00:00
|
|
|
version: '3.8'
|
2020-10-20 22:11:54 +01:00
|
|
|
|
|
|
|
services:
|
2020-10-27 11:21:10 +00:00
|
|
|
mail:
|
|
|
|
image: mail
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
DOMAINNAME: mail.test
|
|
|
|
MAILNAME: mail.mail.test
|
|
|
|
POSTMASTER: postmaster@mail.test
|
|
|
|
SSL_CERT: /etc/ssl/mailserver.crt
|
|
|
|
SSL_KEY: /etc/ssl/mailserver.key
|
|
|
|
container_name: mail
|
|
|
|
privileged: true
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "143:143"
|
|
|
|
- "587:587"
|
|
|
|
- "993:993"
|
|
|
|
volumes:
|
|
|
|
- maildata:/var/mail
|
|
|
|
- mailconf:/etc/mail
|
|
|
|
|
2020-10-20 22:11:54 +01:00
|
|
|
|
|
|
|
volumes:
|
2020-10-27 11:21:10 +00:00
|
|
|
maildata:
|
|
|
|
mailconf:
|
|
|
|
|