1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/docker-compose.yml

101 lines
1.8 KiB
YAML
Raw Normal View History

version: '2'
services:
http:
2016-08-20 14:34:52 +02:00
# build: nginx
image: freeposte/reverse-proxy
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
ports:
- "80:80"
- "443:443"
volumes:
- "$ROOT/certs:/certs"
redis:
image: redis
2016-05-30 22:52:38 +02:00
restart: always
volumes:
- "$ROOT/redis:/data"
imap:
2016-08-20 14:34:52 +02:00
# build: dovecot
image: freeposte/dovecot
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
ports:
- "143:143"
- "993:993"
volumes:
- "$ROOT/freeposte:/data"
- "$ROOT/mail:/mail"
- "$ROOT/certs:/certs"
- "$ROOT/overrides:/overrides"
smtp:
2016-08-20 14:34:52 +02:00
# build: postfix
image: freeposte/postfix
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
ports:
- "25:25"
- "465:465"
- "587:587"
volumes:
- "$ROOT/freeposte:/data"
- "$ROOT/certs:/certs"
- "$ROOT/overrides:/overrides"
milter:
2016-08-20 14:34:52 +02:00
# build: rmilter
image: freeposte/rmilter
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/data"
- "$ROOT/dkim:/dkim"
- "$ROOT/overrides:/overrides"
antispam:
2016-08-20 14:34:52 +02:00
# build: rspamd
image: freeposte/rspamd
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/var/lib/rspamd"
antivirus:
2016-08-20 14:34:52 +02:00
# build: clamav
image: freeposte/clamav
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/data"
admin:
2016-08-20 14:34:52 +02:00
# build: admin
image: freeposte/admin
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/freeposte:/data"
- "$ROOT/dkim:/dkim"
2016-04-24 18:08:23 +02:00
- /var/run/docker.sock:/var/run/docker.sock:ro
webmail:
2016-08-20 14:49:42 +02:00
# build: roundcube
image: freeposte/roundcube
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/webmail:/data"
2016-04-28 20:07:38 +02:00
fetchmail:
2016-08-20 14:49:42 +02:00
# build: fetchmail
2016-04-28 20:07:38 +02:00
image: freeposte/fetchmail
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
2016-04-28 20:07:38 +02:00
volumes:
- "$ROOT/freeposte:/data"