docker-mailserver/docker-compose.yml.dist
Tobias Rittig 090bccd1fc #Fix docker-compose proposal
remove shadowing volume config
2016-05-01 15:26:55 +02:00

26 lines
415 B
Plaintext

version: '2'
services:
mail:
image: tvial/docker-mailserver:v2
hostname: mail
domainname: domain.com
container_name: mail
volumes:
- maildata:/var/mail
ports:
- "25:25"
- "143:143"
- "587:587"
- "993:993"
volumes:
- ./config/:/tmp/docker-mailserver/
environment:
- ENABLE_FAIL2BAN=1
cap_add:
- NET_ADMIN
volumes:
maildata:
driver: local