docker-mail-stack/docker-compose.yml
2020-08-14 01:14:26 +02:00

61 lines
1.5 KiB
YAML

version: "2.1"
services:
dovecot:
image: dovecot:$VERSION_DOVECOT
#build: "https://git.scimetis.net/yohan/docker-dovecot.git"
container_name: dovecot
ports:
- 993:993/tcp
- 4190:4190/tcp
networks:
- mailnet
volumes:
- /mnt/volumes/mail_data/data:/home/yohan
- /mnt/volumes/mail_data_Sylvie/data:/home/sylvie
- ./dovecot_expire.sh:/root/dovecot_expire.sh
- ./users:/etc/dovecot/users
- ./15-lda.conf:/etc/dovecot/conf.d/15-lda.conf
fetchmail-orange:
image: fetchmail:$VERSION_FETCHMAIL
#build: "https://git.scimetis.net/yohan/docker-fetchmail.git"
container_name: fetchmail-orange
networks:
- mailnet
volumes:
- ./fetchmailrc-orange:/etc/fetchmailrc
fetchmail-scimetis:
image: fetchmail:$VERSION_FETCHMAIL
#build: "https://git.scimetis.net/yohan/docker-fetchmail.git"
container_name: fetchmail-scimetis
networks:
- mailnet
volumes:
- ./fetchmailrc-scimetis:/etc/fetchmailrc
fetchmail-laposte-sylvie:
image: fetchmail:$VERSION_FETCHMAIL
#build: "https://git.scimetis.net/yohan/docker-fetchmail.git"
container_name: fetchmail-laposte-sylvie
networks:
- mailnet
volumes:
- ./fetchmailrc-laposte-sylvie:/etc/fetchmailrc
feed2imap:
image: feed2imap:$VERSION_FEED2IMAP
#build: "https://git.scimetis.net/yohan/docker-feed2imap.git"
container_name: feed2imap
networks:
- mailnet
volumes:
- ./feed2imaprc:/root/feed2imaprc
networks:
mailnet:
external: true