You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
1.8 KiB
YAML
101 lines
1.8 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
|
|
http:
|
|
# build: nginx
|
|
image: freeposte/reverse-proxy
|
|
restart: always
|
|
env_file: .env
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- "$ROOT/certs:/certs"
|
|
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
volumes:
|
|
- "$ROOT/redis:/data"
|
|
|
|
imap:
|
|
# build: dovecot
|
|
image: freeposte/dovecot
|
|
restart: always
|
|
env_file: .env
|
|
ports:
|
|
- "143:143"
|
|
- "993:993"
|
|
volumes:
|
|
- "$ROOT/freeposte:/data"
|
|
- "$ROOT/mail:/mail"
|
|
- "$ROOT/certs:/certs"
|
|
- "$ROOT/overrides:/overrides"
|
|
|
|
smtp:
|
|
# build: postfix
|
|
image: freeposte/postfix
|
|
restart: always
|
|
env_file: .env
|
|
ports:
|
|
- "25:25"
|
|
- "465:465"
|
|
- "587:587"
|
|
volumes:
|
|
- "$ROOT/freeposte:/data"
|
|
- "$ROOT/certs:/certs"
|
|
- "$ROOT/overrides:/overrides"
|
|
|
|
milter:
|
|
# build: rmilter
|
|
image: freeposte/rmilter
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/filter:/data"
|
|
- "$ROOT/dkim:/dkim"
|
|
- "$ROOT/overrides:/overrides"
|
|
|
|
antispam:
|
|
# build: rspamd
|
|
image: freeposte/rspamd
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/filter:/var/lib/rspamd"
|
|
|
|
antivirus:
|
|
# build: clamav
|
|
image: freeposte/clamav
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/filter:/data"
|
|
|
|
admin:
|
|
# build: admin
|
|
image: freeposte/admin
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/freeposte:/data"
|
|
- "$ROOT/dkim:/dkim"
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
webmail:
|
|
# build: roundcube
|
|
image: freeposte/roundcube
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/webmail:/data"
|
|
|
|
fetchmail:
|
|
# build: fetchmail
|
|
image: freeposte/fetchmail
|
|
restart: always
|
|
env_file: .env
|
|
volumes:
|
|
- "$ROOT/freeposte:/data"
|