mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
101 lines
1.9 KiB
YAML
101 lines
1.9 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
|
|
http:
|
|
build: nginx
|
|
image: freeposte/reverse-proxy
|
|
restart: always
|
|
env_file: freeposte.env
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
links:
|
|
- webmail
|
|
- admin
|
|
volumes:
|
|
- /freeposte/certs:/certs
|
|
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
volumes:
|
|
- /freeposte/redis:/data
|
|
|
|
imap:
|
|
build: dovecot
|
|
image: freeposte/dovecot
|
|
restart: always
|
|
env_file: freeposte.env
|
|
ports:
|
|
- "143:143"
|
|
- "993:993"
|
|
volumes:
|
|
- /freeposte/freeposte:/data
|
|
- /freeposte/mail:/mail
|
|
- /freeposte/certs:/certs
|
|
|
|
smtp:
|
|
build: postfix
|
|
image: freeposte/postfix
|
|
restart: always
|
|
env_file: freeposte.env
|
|
ports:
|
|
- "25:25"
|
|
- "465:465"
|
|
- "587:587"
|
|
volumes:
|
|
- /freeposte/freeposte:/data
|
|
- /freeposte/certs:/certs
|
|
|
|
milter:
|
|
build: rmilter
|
|
image: freeposte/rmilter
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/filter:/data
|
|
- /freeposte/dkim:/dkim
|
|
|
|
antispam:
|
|
build: rspamd
|
|
image: freeposte/rspamd
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/filter:/var/lib/rspamd
|
|
|
|
antivirus:
|
|
build: clamav
|
|
image: freeposte/clamav
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/filter:/data
|
|
|
|
admin:
|
|
build: admin
|
|
image: freeposte/admin
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/freeposte:/data
|
|
- /freeposte/dkim:/dkim
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
webmail:
|
|
build: roundcube
|
|
image: freeposte/roundcube
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/webmail:/data
|
|
|
|
fetchmail:
|
|
build: fetchmail
|
|
image: freeposte/fetchmail
|
|
restart: always
|
|
env_file: freeposte.env
|
|
volumes:
|
|
- /freeposte/freeposte:/data
|