- "993:993" # IMAP4 (implicit TLS)
volumes:
- /etc/localtime:/etc/localtime/:ro
- - mail:/data/:/var/mail/
- - mail:/state/:/var/mail-state/
- - mail:/logs/:/var/log/mail/
- - mail:/config/:/tmp/docker-mailserver/
+ - ./docker-data/dms/mail-data/:/var/mail/
+ - ./docker-data/dms/mail-state/:/var/mail-state/
+ - ./docker-data/dms/mail-logs/:/var/log/mail/
+ - ./docker-data/dms/config/:/tmp/docker-mailserver/
- /etc/letsencrypt/:/etc/letsencrypt/:ro
cap_add:
- NET_ADMIN
retries: 0
restart: always
stop_grace_period: 1m
-
-volumes:
- mail: