[Compose] New images for Rspamd, SOGo, Dovecot, Postfix, ACME

[Compose] New volume for deduplicated attachments
[Compose] New volume for mail index files
master
andryyy 2018-11-12 10:05:22 +01:00
parent d82c2bfdb7
commit b5448efda9
1 changed files with 15 additions and 5 deletions

View File

@ -72,7 +72,7 @@ services:
- clamd - clamd
rspamd-mailcow: rspamd-mailcow:
image: mailcow/rspamd:1.29 image: mailcow/rspamd:1.30
build: ./data/Dockerfiles/rspamd build: ./data/Dockerfiles/rspamd
stop_grace_period: 30s stop_grace_period: 30s
depends_on: depends_on:
@ -105,6 +105,7 @@ services:
- ./data/conf/rspamd/dynmaps:/dynmaps:ro - ./data/conf/rspamd/dynmaps:/dynmaps:ro
- rspamd-vol-1:/var/lib/rspamd - rspamd-vol-1:/var/lib/rspamd
- mysql-socket-vol-1:/var/run/mysqld/ - mysql-socket-vol-1:/var/run/mysqld/
- ./data/conf/sogo/:/etc/sogo/
- ./data/conf/rspamd/meta_exporter:/meta_exporter:ro - ./data/conf/rspamd/meta_exporter:/meta_exporter:ro
- ./data/conf/phpfpm/php-fpm.d/pools.conf:/usr/local/etc/php-fpm.d/z-pools.conf - ./data/conf/phpfpm/php-fpm.d/pools.conf:/usr/local/etc/php-fpm.d/z-pools.conf
- ./data/conf/phpfpm/php-conf.d/opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini - ./data/conf/phpfpm/php-conf.d/opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini
@ -137,7 +138,7 @@ services:
- phpfpm - phpfpm
sogo-mailcow: sogo-mailcow:
image: mailcow/sogo:1.41 image: mailcow/sogo:1.42
build: ./data/Dockerfiles/sogo build: ./data/Dockerfiles/sogo
environment: environment:
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
@ -148,6 +149,7 @@ services:
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME} - MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
volumes: volumes:
- ./data/conf/sogo/:/etc/sogo/ - ./data/conf/sogo/:/etc/sogo/
- ./data/conf/sogo/custom-sogo.js:/usr/lib/GNUstep/SOGo/WebServerResources/js/custom-sogo.js
- mysql-socket-vol-1:/var/run/mysqld/ - mysql-socket-vol-1:/var/run/mysqld/
restart: always restart: always
dns: dns:
@ -159,7 +161,7 @@ services:
- sogo - sogo
dovecot-mailcow: dovecot-mailcow:
image: mailcow/dovecot:1.42 image: mailcow/dovecot:1.44
build: ./data/Dockerfiles/dovecot build: ./data/Dockerfiles/dovecot
cap_add: cap_add:
- NET_BIND_SERVICE - NET_BIND_SERVICE
@ -168,6 +170,8 @@ services:
- ./data/assets/ssl:/etc/ssl/mail/:ro - ./data/assets/ssl:/etc/ssl/mail/:ro
- ./data/conf/sogo/:/etc/sogo/ - ./data/conf/sogo/:/etc/sogo/
- vmail-vol-1:/var/vmail - vmail-vol-1:/var/vmail
- vmail-attachments-vol-1:/var/attachments
- vmail-index-vol-1:/var/indexes
- crypt-vol-1:/mail_crypt/ - crypt-vol-1:/mail_crypt/
- ./data/conf/rspamd/custom/:/etc/rspamd/custom - ./data/conf/rspamd/custom/:/etc/rspamd/custom
- rspamd-vol-1:/var/lib/rspamd - rspamd-vol-1:/var/lib/rspamd
@ -187,6 +191,7 @@ services:
- "${POPS_PORT:-995}:995" - "${POPS_PORT:-995}:995"
- "${SIEVE_PORT:-4190}:4190" - "${SIEVE_PORT:-4190}:4190"
restart: always restart: always
tty: true
ulimits: ulimits:
nproc: 65535 nproc: 65535
nofile: nofile:
@ -201,7 +206,7 @@ services:
- dovecot - dovecot
postfix-mailcow: postfix-mailcow:
image: mailcow/postfix:1.25 image: mailcow/postfix:1.26
build: ./data/Dockerfiles/postfix build: ./data/Dockerfiles/postfix
volumes: volumes:
- ./data/conf/postfix:/opt/postfix/conf - ./data/conf/postfix:/opt/postfix/conf
@ -286,7 +291,7 @@ services:
acme-mailcow: acme-mailcow:
depends_on: depends_on:
- nginx-mailcow - nginx-mailcow
image: mailcow/acme:1.44 image: mailcow/acme:1.45
build: ./data/Dockerfiles/acme build: ./data/Dockerfiles/acme
dns: dns:
- ${IPV4_NETWORK:-172.22.1}.254 - ${IPV4_NETWORK:-172.22.1}.254
@ -404,7 +409,12 @@ networks:
- subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64} - subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
volumes: volumes:
# Storage for email files
vmail-vol-1: vmail-vol-1:
# Storage for attachments (deduplicated)
vmail-attachments-vol-1:
# Storage for index files
vmail-index-vol-1:
mysql-vol-1: mysql-vol-1:
mysql-socket-vol-1: mysql-socket-vol-1:
redis-vol-1: redis-vol-1: