|
|
@ -5,6 +5,7 @@ services:
|
|
|
|
http:
|
|
|
|
http:
|
|
|
|
build: nginx
|
|
|
|
build: nginx
|
|
|
|
image: freeposte/reverse-proxy
|
|
|
|
image: freeposte/reverse-proxy
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "80:80"
|
|
|
@ -17,12 +18,14 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
image: redis
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/redis:/data
|
|
|
|
- /data/redis:/data
|
|
|
|
|
|
|
|
|
|
|
|
imap:
|
|
|
|
imap:
|
|
|
|
build: dovecot
|
|
|
|
build: dovecot
|
|
|
|
image: freeposte/dovecot
|
|
|
|
image: freeposte/dovecot
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "143:143"
|
|
|
|
- "143:143"
|
|
|
@ -35,6 +38,7 @@ services:
|
|
|
|
smtp:
|
|
|
|
smtp:
|
|
|
|
build: postfix
|
|
|
|
build: postfix
|
|
|
|
image: freeposte/postfix
|
|
|
|
image: freeposte/postfix
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "25:25"
|
|
|
@ -47,6 +51,7 @@ services:
|
|
|
|
milter:
|
|
|
|
milter:
|
|
|
|
build: rmilter
|
|
|
|
build: rmilter
|
|
|
|
image: freeposte/rmilter
|
|
|
|
image: freeposte/rmilter
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/filter:/data
|
|
|
|
- /data/filter:/data
|
|
|
@ -54,6 +59,7 @@ services:
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
build: rspamd
|
|
|
|
build: rspamd
|
|
|
|
image: freeposte/rspamd
|
|
|
|
image: freeposte/rspamd
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/filter:/var/lib/rspamd
|
|
|
|
- /data/filter:/var/lib/rspamd
|
|
|
@ -61,6 +67,7 @@ services:
|
|
|
|
antivirus:
|
|
|
|
antivirus:
|
|
|
|
build: clamav
|
|
|
|
build: clamav
|
|
|
|
image: freeposte/clamav
|
|
|
|
image: freeposte/clamav
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/filter:/data
|
|
|
|
- /data/filter:/data
|
|
|
@ -68,6 +75,7 @@ services:
|
|
|
|
admin:
|
|
|
|
admin:
|
|
|
|
build: admin
|
|
|
|
build: admin
|
|
|
|
image: freeposte/admin
|
|
|
|
image: freeposte/admin
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/freeposte:/data
|
|
|
|
- /data/freeposte:/data
|
|
|
@ -76,6 +84,7 @@ services:
|
|
|
|
webmail:
|
|
|
|
webmail:
|
|
|
|
build: roundcube
|
|
|
|
build: roundcube
|
|
|
|
image: freeposte/roundcube
|
|
|
|
image: freeposte/roundcube
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/webmail:/data
|
|
|
|
- /data/webmail:/data
|
|
|
@ -83,6 +92,7 @@ services:
|
|
|
|
fetchmail:
|
|
|
|
fetchmail:
|
|
|
|
build: fetchmail
|
|
|
|
build: fetchmail
|
|
|
|
image: freeposte/fetchmail
|
|
|
|
image: freeposte/fetchmail
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file: freeposte.env
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /data/freeposte:/data
|
|
|
|
- /data/freeposte:/data
|
|
|
|