docker-mail-stack/docker-compose.yml

55 lines
1.3 KiB
YAML
Raw Normal View History

2019-04-14 16:44:54 +00:00
version: "2.1"
services:
dovecot:
2019-07-15 20:15:27 +00:00
image: dovecot:$VERSION_DOVECOT
#build: "https://git.scimetis.net/yohan/docker-dovecot.git"
2019-07-15 20:15:27 +00:00
container_name: dovecot
2019-04-14 16:44:54 +00:00
restart: always
ports:
- 993:993/tcp
- 4190:4190/tcp
networks:
- mailnet
volumes:
- /mnt/volumes/mail_data/data:/home/yohan
2019-04-14 16:44:54 +00:00
- ./dovecot_expire.sh:/root/dovecot_expire.sh
2019-07-15 20:15:27 +00:00
- ./users:/etc/dovecot/users
- ./15-lda.conf:/etc/dovecot/conf.d/15-lda.conf
2019-04-14 16:44:54 +00:00
fetchmail-orange:
2019-07-15 20:15:27 +00:00
image: fetchmail:$VERSION_FETCHMAIL
#build: "https://git.scimetis.net/yohan/docker-fetchmail.git"
container_name: fetchmail-orange
2019-04-14 16:44:54 +00:00
restart: always
networks:
- mailnet
2019-07-15 20:15:27 +00:00
volumes:
- ./fetchmailrc-orange:/etc/fetchmailrc
fetchmail-scimetis:
image: fetchmail:$VERSION_FETCHMAIL
#build: "https://git.scimetis.net/yohan/docker-fetchmail.git"
container_name: fetchmail-scimetis
restart: always
networks:
- mailnet
volumes:
- ./fetchmailrc-scimetis:/etc/fetchmailrc
2019-04-14 16:44:54 +00:00
feed2imap:
2019-07-15 20:15:27 +00:00
image: feed2imap:$VERSION_FEED2IMAP
#build: "https://git.scimetis.net/yohan/docker-feed2imap.git"
2019-07-15 20:15:27 +00:00
container_name: feed2imap
2019-04-14 16:44:54 +00:00
restart: always
networks:
- mailnet
2019-07-15 20:15:27 +00:00
volumes:
- ./feed2imaprc:/root/feed2imaprc
2019-04-14 16:44:54 +00:00
networks:
mailnet:
external: true