21 lines
542 B
YAML
21 lines
542 B
YAML
services:
|
|
dovecot:
|
|
image: dovecot/dovecot:2.3.21.1
|
|
container_name: dovecot
|
|
restart: unless-stopped
|
|
ports:
|
|
- "143:143" # IMAP
|
|
- "993:993" # IMAPS (IMAP über SSL)
|
|
volumes:
|
|
- ./config/dovecot:/etc/dovecot
|
|
- ./config/dovecot/users:/etc/dovecot/users:ro
|
|
- ./data/mail:/var/mail
|
|
- ./logs:/var/log
|
|
# Bei Bedarf: Zugriff auf Caddy-Zertifikate
|
|
# - /pfad/zu/caddy/certs:/etc/dovecot/ssl:ro
|
|
networks:
|
|
- mail_network
|
|
|
|
networks:
|
|
mail_network:
|
|
driver: bridge |