I’m running docker compose on Arch Linux and ext4 filesystem.
When docker-compose up
all I get is this loop, here is the log
Attaching to traefik_certdumper, mailcowdockerized_olefy-mailcow_1, mailcowdockerized_dockerapi-mailcow_1, mailcowdockerized_clamd-mailcow_1, mailcowdockerized_memcached-mailcow_1, mailcowdockerized_watchdog-mailcow_1, mailcowdockerized_solr-mailcow_1, mailcowdockerized_redis-mailcow_1, mailcowdockerized_unbound-mailcow_1, mailcowdockerized_sogo-mailcow_1, mailcowdockerized_php-fpm-mailcow_1, mailcowdockerized_mysql-mailcow_1, mailcowdockerized_postfix-mailcow_1, mailcowdockerized_dovecot-mailcow_1, mailcowdockerized_nginx-mailcow_1, mailcowdockerized_netfilter-mailcow_1, mailcowdockerized_acme-mailcow_1, mailcowdockerized_rspamd-mailcow_1, mailcowdockerized_ipv6nat-mailcow_1
acme-mailcow_1 | Wed May 13 19:32:31 CEST 2020 - Waiting for Docker API...OK
dovecot-mailcow_1 | Waiting for database to come up...
dockerapi-mailcow_1 | * Serving Flask app "dockerapi" (lazy loading)
dockerapi-mailcow_1 | * Environment: production
dockerapi-mailcow_1 | WARNING: This is a development server. Do not use it in a production deployment.
clamd-mailcow_1 | Cleaning up tmp files...
clamd-mailcow_1 | Creating /var/lib/clamav/whitelist.ign2
mysql-mailcow_1 | 2020-05-13 19:32:28+02:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.22+maria~bionic started.
clamd-mailcow_1 | File: /var/lib/clamav/whitelist.ign2
clamd-mailcow_1 | Size: 142 Blocks: 8 IO Block: 4096 regular file
clamd-mailcow_1 | Device: 100004h/1048580d Inode: 528353 Links: 1
clamd-mailcow_1 | Access: (0644/-rw-r--r--) Uid: ( 700/ clamav) Gid: ( 700/ clamav)
clamd-mailcow_1 | Access: 2020-05-13 19:32:27.334900477 +0200
clamd-mailcow_1 | Modify: 2020-05-13 19:32:27.344900503 +0200
clamd-mailcow_1 | Change: 2020-05-13 19:32:27.344900503 +0200
clamd-mailcow_1 | Birth: -
dockerapi-mailcow_1 | Use a production WSGI server instead.
dockerapi-mailcow_1 | * Debug mode: off
mysql-mailcow_1 | 2020-05-13 19:32:29+02:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
clamd-mailcow_1 | dos2unix: converting file /var/lib/clamav/whitelist.ign2 to Unix format...
dockerapi-mailcow_1 | * Running on https://0.0.0.0:443/ (Press CTRL+C to quit)
mysql-mailcow_1 | 2020-05-13 19:32:29+02:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.22+maria~bionic started.
clamd-mailcow_1 | Running freshclam...
nginx-mailcow_1 | 2020/05/13 19:32:30 [emerg] 14#14: host not found in upstream "rspamd" in /etc/nginx/conf.d/includes/site-defaults.conf:106
nginx-mailcow_1 | nginx: [emerg] host not found in upstream "rspamd" in /etc/nginx/conf.d/includes/site-defaults.conf:106
nginx-mailcow_1 | nginx: configuration file /etc/nginx/nginx.conf test failed
olefy-mailcow_1 | olefy INFO <module> olefy listen address: 0.0.0.0
olefy-mailcow_1 | olefy INFO <module> olefy listen port: 10055
olefy-mailcow_1 | olefy INFO <module> olefy tmp dir: /tmp
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] mysqld (mysqld 10.3.22-MariaDB-1:10.3.22+maria~bionic) starting as process 1 ...
netfilter-mailcow_1 | Clearing all bans
clamd-mailcow_1 | Wed May 13 19:32:27 2020 -> ClamAV update process started at Wed May 13 19:32:27 2020
php-fpm-mailcow_1 | Waiting for SQL...
postfix-mailcow_1 | 2020-05-13 19:32:30,232 INFO Set uid to user 0 succeeded
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Using Linux native AIO
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Uses event mutexes
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
olefy-mailcow_1 | olefy INFO <module> olefy python path: /usr/bin/python3
netfilter-mailcow_1 | Initializing mailcow netfilter chain
php-fpm-mailcow_1 | Waiting for SQL...
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Number of pools: 1
redis-mailcow_1 | 1:C 13 May 2020 19:32:27.422 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-mailcow_1 | 1:C 13 May 2020 19:32:27.422 # Redis version=5.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
redis-mailcow_1 | 1:C 13 May 2020 19:32:27.422 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
olefy-mailcow_1 | olefy INFO <module> olefy olvba path: /usr/bin/olevba3
netfilter-mailcow_1 | Watching Redis channel F2B_CHANNEL
postfix-mailcow_1 | 2020-05-13 19:32:30,234 INFO supervisord started with pid 1
rspamd-mailcow_1 | Waiting for PHP on port 9001...
mysql-mailcow_1 | 2020-05-13 19:32:29 0 [Note] InnoDB: Using SSE2 crc32 instructions
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
postfix-mailcow_1 | 2020-05-13 19:32:31,236 INFO spawned: 'processes' with pid 8
olefy-mailcow_1 | olefy INFO <module> olefy log level: 20
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.424 * Running mode=standalone, port=6379.
sogo-mailcow_1 | 2020-05-13 19:32:27,664 INFO Set uid to user 0 succeeded
solr-mailcow_1 | Starting Solr
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Completed initialization of buffer pool
postfix-mailcow_1 | 2020-05-13 19:32:31,237 INFO spawned: 'postfix' with pid 9
unbound-mailcow_1 | Setting console permissions...
unbound-mailcow_1 | Receiving anchor key...
unbound-mailcow_1 | Receiving root hints...
######################################################################## 100.0%
unbound-mailcow_1 | setup in directory /etc/unbound
unbound-mailcow_1 | generating unbound_server.key
unbound-mailcow_1 | Generating RSA private key, 3072 bit long modulus (2 primes)
unbound-mailcow_1 | .................++++
unbound-mailcow_1 | ...............................................................................++++
unbound-mailcow_1 | e is 65537 (0x010001)
unbound-mailcow_1 | generating unbound_control.key
unbound-mailcow_1 | Generating RSA private key, 3072 bit long modulus (2 primes)
unbound-mailcow_1 | ...................++++
unbound-mailcow_1 | ..............................++++
unbound-mailcow_1 | e is 65537 (0x010001)
unbound-mailcow_1 | create unbound_server.pem (self signed certificate)
unbound-mailcow_1 | create unbound_control.pem (signed client certificate)
unbound-mailcow_1 | Signature ok
unbound-mailcow_1 | subject=CN = unbound-control
unbound-mailcow_1 | Getting CA Private Key
unbound-mailcow_1 | Setup success. Certificates created. Enable in unbound.conf file to use
unbound-mailcow_1 | [1589391148] unbound[1:0] notice: init module 0: validator
unbound-mailcow_1 | [1589391148] unbound[1:0] notice: init module 1: iterator
unbound-mailcow_1 | [1589391148] unbound[1:0] info: start of service (unbound 1.9.6).
unbound-mailcow_1 | [1589391150] unbound[1:0] info: generate keytag query _ta-4f66. NULL IN
sogo-mailcow_1 | 2020-05-13 19:32:27,667 INFO supervisord started with pid 1
olefy-mailcow_1 | olefy INFO <module> olefy min file length: 500
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.424 # Server initialized
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.425 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
watchdog-mailcow_1 | Waiting for containers to settle...
postfix-mailcow_1 | 2020-05-13 19:32:31,238 INFO spawned: 'syslog-ng' with pid 10
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
sogo-mailcow_1 | 2020-05-13 19:32:28,672 INFO spawned: 'processes' with pid 9
olefy-mailcow_1 | olefy INFO <module> olefy delete tmp file: 1
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.425 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
solr-mailcow_1 | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
postfix-mailcow_1 | Waiting for database to come up...
sogo-mailcow_1 | 2020-05-13 19:32:28,673 INFO spawned: 'syslog-ng' with pid 10
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.426 * DB loaded from disk: 0.001 seconds
redis-mailcow_1 | 1:M 13 May 2020 19:32:27.426 * Ready to accept connections
traefik_certdumper | [2020-05-13T17:32:24+0000]: Got value of --restart-containers: mailcowdockerized_postfix-mailcow_1,mailcowdockerized_dovecot-mailcow_1. Splitting values.
olefy-mailcow_1 | olefy INFO <module> olefy delete tmp file when failed: 1
postfix-mailcow_1 | May 13 19:32:31 mail syslog-ng[10]: syslog-ng starting up; version='3.19.1'
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
solr-mailcow_1 | 2020-05-13 17:32:28.495 INFO (main) [ ] o.e.j.u.log Logging initialized @750ms to org.eclipse.jetty.util.log.Slf4jLog
sogo-mailcow_1 | 2020-05-13 19:32:28,674 INFO spawned: 'cron' with pid 11
traefik_certdumper | [2020-05-13T17:32:24+0000]: Values split! Got 'mailcowdockerized_postfix-mailcow_1 mailcowdockerized_dovecot-mailcow_1'
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables
solr-mailcow_1 | 2020-05-13 17:32:28.683 WARN (main) [ ] o.e.j.s.AbstractConnector Ignoring deprecated socket close linger time
olefy-mailcow_1 | olefy INFO <module> serving on ('0.0.0.0', 10055)
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
traefik_certdumper | [2020-05-13T17:32:24+0000]: Clearing dumping directory
sogo-mailcow_1 | 2020-05-13 19:32:28,675 INFO spawned: 'bootstrap-sogo' with pid 12
solr-mailcow_1 | 2020-05-13 17:32:28.701 INFO (main) [ ] o.e.j.s.Server jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 11.0.7+10
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: 10.3.22 started; log sequence number 2408492; transaction id 1199
sogo-mailcow_1 | Waiting for database to come up...
solr-mailcow_1 | 2020-05-13 17:32:28.728 INFO (main) [ ] o.e.j.d.p.ScanningAppProvider Deployment monitor [file:///opt/solr/server/contexts/] at interval 0
traefik_certdumper | [2020-05-13T17:32:24+0000]: Dumping certificates
solr-mailcow_1 | 2020-05-13 17:32:29.000 INFO (main) [ ] o.e.j.w.StandardDescriptorProcessor NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
sogo-mailcow_1 | [2020-05-13T19:32:28.770448] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
traefik_certdumper | [2020-05-13T17:32:24+0000]: Certificate or key differ, updating
sogo-mailcow_1 | May 13 19:32:28 a36ab7ce64f2 syslog-ng[10]: syslog-ng starting up; version='3.19.1'
solr-mailcow_1 | 2020-05-13 17:32:29.012 INFO (main) [ ] o.e.j.s.session DefaultSessionIdManager workerName=node0
traefik_certdumper | mv: can't rename '/tmp/work//i-amboss.com/*.pem': No such file or directory
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
sogo-mailcow_1 | 2020-05-13 19:32:29,774 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
sogo-mailcow_1 | 2020-05-13 19:32:29,774 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
traefik_certdumper | [2020-05-13T17:32:24+0000]: Trying to restart containers
sogo-mailcow_1 | 2020-05-13 19:32:29,774 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
solr-mailcow_1 | 2020-05-13 17:32:29.012 INFO (main) [ ] o.e.j.s.session No SessionScavenger set, using defaults
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] Server socket created on IP: '::'.
solr-mailcow_1 | 2020-05-13 17:32:29.014 INFO (main) [ ] o.e.j.s.session node0 Scavenging every 660000ms
sogo-mailcow_1 | 2020-05-13 19:32:29,774 INFO success: bootstrap-sogo entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
traefik_certdumper | [2020-05-13T17:32:24+0000]: Looking up container with name mailcowdockerized_postfix-mailcow_1
solr-mailcow_1 | 2020-05-13 17:32:29.092 INFO (main) [ ] o.a.s.s.SolrDispatchFilter Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] InnoDB: Buffer pool(s) load completed at 200513 19:32:30
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Warning] 'proxies_priv' entry '@% root@9e11b28cafa6' ignored in --skip-name-resolve mode.
solr-mailcow_1 | 2020-05-13 17:32:29.099 INFO (main) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 7.7.3
traefik_certdumper | [2020-05-13T17:32:24+0000]: Container 'mailcowdockerized_postfix-mailcow_1' could not be found. Omitting container...
sogo-mailcow_1 | Waiting for database to come up...
mysql-mailcow_1 | 2020-05-13 19:32:30 6 [Note] Event Scheduler: scheduler thread started with id 6
traefik_certdumper | [2020-05-13T17:32:24+0000]: Looking up container with name mailcowdockerized_dovecot-mailcow_1
solr-mailcow_1 | 2020-05-13 17:32:29.099 INFO (main) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in standalone mode on port 8983
traefik_certdumper | [2020-05-13T17:32:24+0000]: Container 'mailcowdockerized_dovecot-mailcow_1' could not be found. Omitting container...
mysql-mailcow_1 | 2020-05-13 19:32:30 0 [Note] mysqld: ready for connections.
mysql-mailcow_1 | Version: '10.3.22-MariaDB-1:10.3.22+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
solr-mailcow_1 | 2020-05-13 17:32:29.100 INFO (main) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: /opt/solr
solr-mailcow_1 | 2020-05-13 17:32:29.100 INFO (main) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2020-05-13T17:32:29.100373Z
traefik_certdumper | [2020-05-13T17:32:24+0000]: Container restarting process done.
solr-mailcow_1 | 2020-05-13 17:32:29.134 INFO (main) [ ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /opt/solr/server/solr
solr-mailcow_1 | 2020-05-13 17:32:29.141 INFO (main) [ ] o.a.s.c.SolrXmlConfig Loading container configuration from /opt/solr/server/solr/solr.xml
solr-mailcow_1 | 2020-05-13 17:32:29.206 INFO (main) [ ] o.a.s.c.SolrXmlConfig MBean server found: com.sun.jmx.mbeanserver.JmxMBeanServer@5f0fd5a0, but no JMX reporters were configured - adding default JMX reporter.
solr-mailcow_1 | 2020-05-13 17:32:29.459 INFO (main) [ ] o.a.s.c.SolrResourceLoader [null] Added 0 libs to classloader, from paths: []
solr-mailcow_1 | 2020-05-13 17:32:29.599 INFO (main) [ ] o.a.s.h.c.HttpShardHandlerFactory Host whitelist initialized: WhitelistHostChecker [whitelistHosts=null, whitelistHostCheckingEnabled=true]
solr-mailcow_1 | 2020-05-13 17:32:29.918 INFO (main) [ ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores
solr-mailcow_1 | 2020-05-13 17:32:29.920 INFO (main) [ ] o.a.s.h.a.MetricsHistoryHandler No .system collection, keeping metrics history in memory.
solr-mailcow_1 | 2020-05-13 17:32:29.982 INFO (main) [ ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5f0fd5a0
solr-mailcow_1 | 2020-05-13 17:32:29.983 INFO (main) [ ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5f0fd5a0
solr-mailcow_1 | 2020-05-13 17:32:29.987 INFO (main) [ ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5f0fd5a0
solr-mailcow_1 | 2020-05-13 17:32:30.020 INFO (main) [ ] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath /opt/solr/server/solr
solr-mailcow_1 | 2020-05-13 17:32:30.021 INFO (main) [ ] o.a.s.c.CorePropertiesLocator Cores are: [dovecot-fts]
solr-mailcow_1 | 2020-05-13 17:32:30.053 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.c.SolrResourceLoader [dovecot-fts] Added 58 libs to classloader, from paths: [/opt/solr/contrib/clustering/lib, /opt/solr/contrib/extraction/lib, /opt/solr/contrib/langid/lib, /opt/solr/contrib/velocity/lib, /opt/solr/dist]
solr-mailcow_1 | 2020-05-13 17:32:30.091 INFO (main) [ ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@226642a5{/solr,file:///opt/solr/server/solr-webapp/webapp/,AVAILABLE}{/opt/solr/server/solr-webapp/webapp}
solr-mailcow_1 | 2020-05-13 17:32:30.112 INFO (main) [ ] o.e.j.s.AbstractConnector Started ServerConnector@75de29c0{HTTP/1.1,[http/1.1]}{0.0.0.0:8983}
solr-mailcow_1 | 2020-05-13 17:32:30.112 INFO (main) [ ] o.e.j.s.Server Started @2370ms
solr-mailcow_1 | 2020-05-13 17:32:30.187 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.7.0
solr-mailcow_1 | 2020-05-13 17:32:30.317 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.s.IndexSchema [dovecot-fts] Schema name=dovecot-fts
solr-mailcow_1 | 2020-05-13 17:32:30.445 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.s.IndexSchema Loaded schema dovecot-fts/2.0 with uniqueid field id
solr-mailcow_1 | 2020-05-13 17:32:30.448 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.c.CoreContainer Creating SolrCore 'dovecot-fts' using configuration from instancedir /opt/solr/server/solr/dovecot-fts, trusted=true
solr-mailcow_1 | 2020-05-13 17:32:30.471 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.core.dovecot-fts' (registry 'solr.core.dovecot-fts') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5f0fd5a0
solr-mailcow_1 | 2020-05-13 17:32:30.483 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.c.SolrCore [[dovecot-fts] ] Opening new SolrCore at [/opt/solr/server/solr/dovecot-fts], dataDir=[/opt/solr/server/solr/dovecot-fts/data/]
solr-mailcow_1 | 2020-05-13 17:32:30.740 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog
solr-mailcow_1 | 2020-05-13 17:32:30.740 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
solr-mailcow_1 | 2020-05-13 17:32:30.749 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.u.CommitTracker Hard AutoCommit: if uncommitted for 15000ms;
solr-mailcow_1 | 2020-05-13 17:32:30.749 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.u.CommitTracker Soft AutoCommit: disabled
solr-mailcow_1 | 2020-05-13 17:32:30.791 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.s.SolrIndexSearcher Opening [Searcher@2b91a731[dovecot-fts] main]
solr-mailcow_1 | 2020-05-13 17:32:30.799 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.r.ManagedResourceStorage File-based storage initialized to use dir: /opt/solr/server/solr/dovecot-fts/conf
solr-mailcow_1 | 2020-05-13 17:32:30.815 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.h.ReplicationHandler Commits will be reserved for 10000ms.
solr-mailcow_1 | 2020-05-13 17:32:30.816 INFO (coreLoadExecutor-9-thread-1) [ x:dovecot-fts] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1666597415358038016
solr-mailcow_1 | 2020-05-13 17:32:30.824 INFO (searcherExecutor-10-thread-1-processing-x:dovecot-fts) [ x:dovecot-fts] o.a.s.c.SolrCore [dovecot-fts] Registered new searcher Searcher@2b91a731[dovecot-fts] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
dovecot-mailcow_1 | Waiting for database to come up...
postfix-mailcow_1 | 2020-05-13 19:32:32,264 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
postfix-mailcow_1 | 2020-05-13 19:32:32,265 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
postfix-mailcow_1 | 2020-05-13 19:32:32,265 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
postfix-mailcow_1 | Waiting for database to come up...
clamd-mailcow_1 | Wed May 13 19:32:33 2020 -> ^Your ClamAV installation is OUTDATED!
clamd-mailcow_1 | Wed May 13 19:32:33 2020 -> ^Local version: 0.102.1 Recommended version: 0.102.3
clamd-mailcow_1 | Wed May 13 19:32:33 2020 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
clamd-mailcow_1 | Wed May 13 19:32:33 2020 -> daily database available for download (remote version: 25811)
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
rspamd-mailcow_1 | Waiting for PHP on port 9001...
postfix-mailcow_1 | Waiting for database to come up...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
postfix-mailcow_1 | Waiting for database to come up...
rspamd-mailcow_1 | Waiting for PHP on port 9001...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
postfix-mailcow_1 | Waiting for database to come up...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
rspamd-mailcow_1 | Waiting for PHP on port 9001...
postfix-mailcow_1 | Waiting for database to come up...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
postfix-mailcow_1 | Waiting for database to come up...
rspamd-mailcow_1 | Waiting for PHP on port 9001...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> ^Mirror https://database.clamav.net is not synchronized.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> !Unexpected error when attempting to update database: daily
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> ^fc_update_databases: fc_update_database failed: Up-to-date (1)
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> !Database update process failed: Up-to-date (1)
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> !Update failed.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: Global time limit set to 120000 milliseconds.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: Global size limit set to 52428800 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: File size limit set to 26214400 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: Recursion level limit set to 5.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: Files limit set to 200.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxScriptNormalize limit set to 5242880 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxPartitions limit set to 50.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxIconsPE limit set to 100.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: MaxRecHWP3 limit set to 16.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: PCREMatchLimit limit set to 100000.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: PCRERecMatchLimit limit set to 2000.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Limits: PCREMaxFileSize limit set to 26214400.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Archive support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> AlertExceedsMax heuristic detection disabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Heuristic alerts enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Portable Executable support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> ELF support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Mail files support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> OLE2 support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> PDF support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> SWF support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> HTML support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> XMLDOCS support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> HWP3 support enabled.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Heuristic: precedence enabled
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Self checking every 3600 seconds.
clamd-mailcow_1 | Wed May 13 19:32:45 2020 -> Set stacksize to 8454144
postfix-mailcow_1 | Waiting for database to come up...
dovecot-mailcow_1 | Waiting for database to come up...
php-fpm-mailcow_1 | Waiting for SQL...
sogo-mailcow_1 | Waiting for database to come up...
rspamd-mailcow_1 | Waiting for PHP on port 9001...
My configs are slightly modified versions because mailcow is supposed to run behind traefik2
docker-compose.yml
version: '2.1'
services:
unbound-mailcow:
image: mailcow/unbound:1.11
environment:
- TZ=${TZ}
volumes:
- ./data/hooks/unbound:/hooks
- ./data/conf/unbound/unbound.conf:/etc/unbound/unbound.conf:ro
restart: always
tty: true
networks:
mailcow-network:
ipv4_address: ${IPV4_NETWORK:-172.22.1}.254
aliases:
- unbound
mysql-mailcow:
image: mariadb:10.3
depends_on:
- unbound-mailcow
stop_grace_period: 45s
volumes:
- mysql-vol-1:/var/lib/mysql/
- mysql-socket-vol-1:/var/run/mysqld/
- ./data/conf/mysql/:/etc/mysql/conf.d/:ro
environment:
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=${DBROOT}
- MYSQL_DATABASE=${DBNAME}
- MYSQL_USER=${DBUSER}
- MYSQL_PASSWORD=${DBPASS}
- MYSQL_INITDB_SKIP_TZINFO=1
restart: always
ports:
- "${SQL_PORT:-127.0.0.1:13306}:3306"
networks:
mailcow-network:
aliases:
- mysql
redis-mailcow:
image: redis:5-alpine
volumes:
- redis-vol-1:/data/
restart: always
ports:
- "${REDIS_PORT:-127.0.0.1:7654}:6379"
environment:
- TZ=${TZ}
networks:
mailcow-network:
ipv4_address: ${IPV4_NETWORK:-172.22.1}.249
aliases:
- redis
clamd-mailcow:
image: mailcow/clamd:1.35
restart: always
dns:
- ${IPV4_NETWORK:-172.22.1}.254
environment:
- TZ=${TZ}
- SKIP_CLAMD=${SKIP_CLAMD:-n}
volumes:
- ./data/conf/clamav/:/etc/clamav/
networks:
mailcow-network:
aliases:
- clamd
rspamd-mailcow:
image: mailcow/rspamd:1.68
stop_grace_period: 30s
depends_on:
- nginx-mailcow
- dovecot-mailcow
environment:
- TZ=${TZ}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- IPV6_NETWORK=${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
volumes:
- ./data/hooks/rspamd:/hooks
- ./data/conf/rspamd/custom/:/etc/rspamd/custom
- ./data/conf/rspamd/override.d/:/etc/rspamd/override.d
- ./data/conf/rspamd/local.d/:/etc/rspamd/local.d
- ./data/conf/rspamd/plugins.d/:/etc/rspamd/plugins.d
- ./data/conf/rspamd/lua/:/etc/rspamd/lua/:ro
- ./data/conf/rspamd/rspamd.conf.local:/etc/rspamd/rspamd.conf.local
- ./data/conf/rspamd/rspamd.conf.override:/etc/rspamd/rspamd.conf.override
- rspamd-vol-1:/var/lib/rspamd
restart: always
dns:
- ${IPV4_NETWORK:-172.22.1}.254
hostname: rspamd
networks:
mailcow-network:
aliases:
- rspamd
php-fpm-mailcow:
image: mailcow/phpfpm:1.62
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
depends_on:
- redis-mailcow
volumes:
- ./data/hooks/phpfpm:/hooks
- ./data/web:/web:rw
- ./data/conf/rspamd/dynmaps:/dynmaps:ro
- ./data/conf/rspamd/custom/:/rspamd_custom_maps
- rspamd-vol-1:/var/lib/rspamd
- mysql-socket-vol-1:/var/run/mysqld/
- ./data/conf/sogo/:/etc/sogo/
- ./data/conf/rspamd/meta_exporter:/meta_exporter:ro
- ./data/conf/phpfpm/sogo-sso/:/etc/sogo-sso/
- ./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/upload.ini:/usr/local/etc/php/conf.d/upload.ini
- ./data/conf/phpfpm/php-conf.d/other.ini:/usr/local/etc/php/conf.d/zzz-other.ini
- ./data/conf/dovecot/global_sieve_before:/global_sieve/before
- ./data/conf/dovecot/global_sieve_after:/global_sieve/after
- ./data/assets/templates:/tpls
dns:
- ${IPV4_NETWORK:-172.22.1}.254
environment:
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
- LOG_LINES=${LOG_LINES:-9999}
- TZ=${TZ}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- IMAP_PORT=${IMAP_PORT:-143}
- IMAPS_PORT=${IMAPS_PORT:-993}
- POP_PORT=${POP_PORT:-110}
- POPS_PORT=${POPS_PORT:-995}
- SIEVE_PORT=${SIEVE_PORT:-4190}
- SUBMISSION_PORT=${SUBMISSION_PORT:-587}
- SMTPS_PORT=${SMTPS_PORT:-465}
- SMTP_PORT=${SMTP_PORT:-25}
- API_KEY=${API_KEY:-invalid}
- API_KEY_READ_ONLY=${API_KEY_READ_ONLY:-invalid}
- API_ALLOW_FROM=${API_ALLOW_FROM:-invalid}
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-mailcow-dockerized}
- SKIP_SOLR=${SKIP_SOLR:-y}
- SKIP_CLAMD=${SKIP_CLAMD:-n}
- SKIP_SOGO=${SKIP_SOGO:-n}
- ALLOW_ADMIN_EMAIL_LOGIN=${ALLOW_ADMIN_EMAIL_LOGIN:-n}
- MASTER=${MASTER:-y}
restart: always
networks:
mailcow-network:
aliases:
- phpfpm
sogo-mailcow:
image: mailcow/sogo:1.74
environment:
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- TZ=${TZ}
- LOG_LINES=${LOG_LINES:-9999}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- ACL_ANYONE=${ACL_ANYONE:-disallow}
- ALLOW_ADMIN_EMAIL_LOGIN=${ALLOW_ADMIN_EMAIL_LOGIN:-n}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- SOGO_EXPIRE_SESSION=${SOGO_EXPIRE_SESSION:-480}
- SKIP_SOGO=${SKIP_SOGO:-n}
- MASTER=${MASTER:-y}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
dns:
- ${IPV4_NETWORK:-172.22.1}.254
volumes:
- ./data/conf/sogo/:/etc/sogo/
- ./data/web/inc/init_db.inc.php:/init_db.inc.php
- ./data/conf/sogo/custom-sogo.js:/usr/lib/GNUstep/SOGo/WebServerResources/js/custom-sogo.js
- mysql-socket-vol-1:/var/run/mysqld/
- sogo-web-vol-1:/sogo_web
- sogo-userdata-backup-vol-1:/sogo_backup
restart: always
networks:
mailcow-network:
ipv4_address: ${IPV4_NETWORK:-172.22.1}.248
aliases:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.123
depends_on:
- mysql-mailcow
dns:
- ${IPV4_NETWORK:-172.22.1}.254
cap_add:
- NET_BIND_SERVICE
volumes:
- ./data/hooks/dovecot:/hooks
- ./data/conf/dovecot:/etc/dovecot
- ./data/assets/ssl:/etc/ssl/mail/:ro
- ./data/conf/sogo/:/etc/sogo/
- ./data/conf/phpfpm/sogo-sso/:/etc/phpfpm/
- vmail-vol-1:/var/vmail
- vmail-attachments-vol-1:/var/attachments
- crypt-vol-1:/mail_crypt/
- ./data/conf/rspamd/custom/:/etc/rspamd/custom
- ./data/assets/templates:/templates
- rspamd-vol-1:/var/lib/rspamd
- mysql-socket-vol-1:/var/run/mysqld/
environment:
- LOG_LINES=${LOG_LINES:-9999}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- TZ=${TZ}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- ALLOW_ADMIN_EMAIL_LOGIN=${ALLOW_ADMIN_EMAIL_LOGIN:-n}
- MAILDIR_GC_TIME=${MAILDIR_GC_TIME:-1440}
- ACL_ANYONE=${ACL_ANYONE:-disallow}
- SKIP_SOLR=${SKIP_SOLR:-y}
- MAILDIR_SUB=${MAILDIR_SUB:-}
- MASTER=${MASTER:-y}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
ports:
- "${DOVEADM_PORT:-127.0.0.1:19991}:12345"
- "${IMAP_PORT:-143}:143"
- "${IMAPS_PORT:-993}:993"
- "${POP_PORT:-110}:110"
- "${POPS_PORT:-995}:995"
- "${SIEVE_PORT:-4190}:4190"
restart: always
tty: true
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
hostname: ${MAILCOW_HOSTNAME}
networks:
mailcow-network:
ipv4_address: ${IPV4_NETWORK:-172.22.1}.250
aliases:
- dovecot
postfix-mailcow:
image: mailcow/postfix:1.49
depends_on:
- mysql-mailcow
volumes:
- ./data/hooks/postfix:/hooks
- ./data/conf/postfix:/opt/postfix/conf
- ./data/assets/ssl:/etc/ssl/mail/:ro
- postfix-vol-1:/var/spool/postfix
- crypt-vol-1:/var/lib/zeyple
- rspamd-vol-1:/var/lib/rspamd
- mysql-socket-vol-1:/var/run/mysqld/
environment:
- LOG_LINES=${LOG_LINES:-9999}
- TZ=${TZ}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
cap_add:
- NET_BIND_SERVICE
ports:
- "${SMTP_PORT:-25}:25"
- "${SMTPS_PORT:-465}:465"
- "${SUBMISSION_PORT:-587}:587"
restart: always
dns:
- ${IPV4_NETWORK:-172.22.1}.254
hostname: ${MAILCOW_HOSTNAME}
networks:
mailcow-network:
aliases:
- postfix
memcached-mailcow:
image: memcached:alpine
restart: always
environment:
- TZ=${TZ}
networks:
mailcow-network:
aliases:
- memcached
nginx-mailcow:
depends_on:
- sogo-mailcow
- php-fpm-mailcow
- redis-mailcow
image: nginx:mainline-alpine
dns:
- ${IPV4_NETWORK:-172.22.1}.254
command: /bin/sh -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
envsubst < /etc/nginx/conf.d/templates/listen_ssl.template > /etc/nginx/conf.d/listen_ssl.active &&
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active &&
envsubst < /etc/nginx/conf.d/templates/sogo.template > /etc/nginx/conf.d/sogo.active &&
envsubst < /etc/nginx/conf.d/templates/sogo_eas.template > /etc/nginx/conf.d/sogo_eas.active &&
. /etc/nginx/conf.d/templates/sogo.auth_request.template.sh > /etc/nginx/conf.d/sogo_proxy_auth.active &&
. /etc/nginx/conf.d/templates/sites.template.sh > /etc/nginx/conf.d/sites.active &&
nginx -qt &&
until ping phpfpm -c1 > /dev/null; do sleep 1; done &&
until ping sogo -c1 > /dev/null; do sleep 1; done &&
until ping redis -c1 > /dev/null; do sleep 1; done &&
until ping rspamd -c1 > /dev/null; do sleep 1; done &&
exec nginx -g 'daemon off;'"
environment:
- HTTPS_PORT=${HTTPS_PORT:-443}
- HTTP_PORT=${HTTP_PORT:-80}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- TZ=${TZ}
- ALLOW_ADMIN_EMAIL_LOGIN=${ALLOW_ADMIN_EMAIL_LOGIN:-n}
volumes:
- ./data/web:/web:ro
- ./data/conf/rspamd/dynmaps:/dynmaps:ro
- ./data/assets/ssl/:/etc/ssl/mail/:ro
- ./data/conf/nginx/:/etc/nginx/conf.d/:rw
- ./data/conf/rspamd/meta_exporter:/meta_exporter:ro
- sogo-web-vol-1:/usr/lib/GNUstep/SOGo/
# ports:
# - "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}"
# - "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}"
restart: always
networks:
mailcow-network:
aliases:
- nginx
acme-mailcow:
depends_on:
- nginx-mailcow
image: mailcow/acme:1.70
dns:
- ${IPV4_NETWORK:-172.22.1}.254
environment:
- LOG_LINES=${LOG_LINES:-9999}
- ADDITIONAL_SAN=${ADDITIONAL_SAN}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- SKIP_LETS_ENCRYPT=${SKIP_LETS_ENCRYPT:-n}
- ENABLE_SSL_SNI=${ENABLE_SSL_SNI:-n}
- SKIP_IP_CHECK=${SKIP_IP_CHECK:-n}
- SKIP_HTTP_VERIFICATION=${SKIP_HTTP_VERIFICATION:-n}
- ONLY_MAILCOW_HOSTNAME=${ONLY_MAILCOW_HOSTNAME:-n}
- LE_STAGING=${LE_STAGING:-n}
- TZ=${TZ}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
- SNAT_TO_SOURCE=${SNAT_TO_SOURCE:-n}
- SNAT6_TO_SOURCE=${SNAT6_TO_SOURCE:-n}
volumes:
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw
- ./data/assets/ssl:/var/lib/acme/:rw
- ./data/assets/ssl-example:/var/lib/ssl-example/:ro
- mysql-socket-vol-1:/var/run/mysqld/
restart: always
networks:
mailcow-network:
aliases:
- acme
netfilter-mailcow:
image: mailcow/netfilter:1.36
stop_grace_period: 30s
depends_on:
- dovecot-mailcow
- postfix-mailcow
- sogo-mailcow
- php-fpm-mailcow
- redis-mailcow
restart: always
privileged: true
environment:
- TZ=${TZ}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- IPV6_NETWORK=${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
- SNAT_TO_SOURCE=${SNAT_TO_SOURCE:-n}
- SNAT6_TO_SOURCE=${SNAT6_TO_SOURCE:-n}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
network_mode: "host"
volumes:
- /lib/modules:/lib/modules:ro
watchdog-mailcow:
image: mailcow/watchdog:1.76
# Debug
#command: /watchdog.sh
dns:
- ${IPV4_NETWORK:-172.22.1}.254
volumes:
- rspamd-vol-1:/var/lib/rspamd
- mysql-socket-vol-1:/var/run/mysqld/
- ./data/assets/ssl:/etc/ssl/mail/:ro
restart: always
environment:
- IPV6_NETWORK=${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
- LOG_LINES=${LOG_LINES:-9999}
- TZ=${TZ}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
- DBROOT=${DBROOT}
- USE_WATCHDOG=${USE_WATCHDOG:-n}
- WATCHDOG_NOTIFY_EMAIL=${WATCHDOG_NOTIFY_EMAIL}
- WATCHDOG_NOTIFY_BAN=${WATCHDOG_NOTIFY_BAN:-y}
- WATCHDOG_EXTERNAL_CHECKS=${WATCHDOG_EXTERNAL_CHECKS:-n}
- WATCHDOG_MYSQL_REPLICATION_CHECKS=${WATCHDOG_MYSQL_REPLICATION_CHECKS:-n}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- IP_BY_DOCKER_API=${IP_BY_DOCKER_API:-0}
- CHECK_UNBOUND=${CHECK_UNBOUND:-1}
- SKIP_CLAMD=${SKIP_CLAMD:-n}
- SKIP_LETS_ENCRYPT=${SKIP_LETS_ENCRYPT:-n}
- SKIP_SOGO=${SKIP_SOGO:-n}
- HTTPS_PORT=${HTTPS_PORT:-443}
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
- EXTERNAL_CHECKS_THRESHOLD=1
- NGINX_THRESHOLD=5
- UNBOUND_THRESHOLD=5
- REDIS_THRESHOLD=5
- MYSQL_THRESHOLD=5
- MYSQL_REPLICATION_THRESHOLD=1
- SOGO_THRESHOLD=3
- POSTFIX_THRESHOLD=8
- CLAMD_THRESHOLD=15
- DOVECOT_THRESHOLD=12
- DOVECOT_REPL_THRESHOLD=2
- PHPFPM_THRESHOLD=5
- RATELIMIT_THRESHOLD=1
- FAIL2BAN_THRESHOLD=1
- ACME_THRESHOLD=1
- IPV6NAT_THRESHOLD=1
- RSPAMD_THRESHOLD=5
- OLEFY_THRESHOLD=5
networks:
mailcow-network:
aliases:
- watchdog
dockerapi-mailcow:
image: mailcow/dockerapi:1.36
restart: always
oom_kill_disable: true
dns:
- ${IPV4_NETWORK:-172.22.1}.254
environment:
- DBROOT=${DBROOT}
- TZ=${TZ}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
mailcow-network:
aliases:
- dockerapi
solr-mailcow:
image: mailcow/solr:1.7
restart: always
volumes:
- solr-vol-1:/opt/solr/server/solr/dovecot-fts/data
ports:
- "${SOLR_PORT:-127.0.0.1:18983}:8983"
environment:
- TZ=${TZ}
- SOLR_HEAP=${SOLR_HEAP:-1024}
- SKIP_SOLR=${SKIP_SOLR:-y}
networks:
mailcow-network:
aliases:
- solr
olefy-mailcow:
image: mailcow/olefy:1.3
restart: always
environment:
- TZ=${TZ}
- OLEFY_BINDADDRESS=0.0.0.0
- OLEFY_BINDPORT=10055
- OLEFY_TMPDIR=/tmp
- OLEFY_PYTHON_PATH=/usr/bin/python3
- OLEFY_OLEVBA_PATH=/usr/bin/olevba3
- OLEFY_LOGLVL=20
- OLEFY_MINLENGTH=500
- OLEFY_DEL_TMP=1
networks:
mailcow-network:
aliases:
- olefy
ipv6nat-mailcow:
depends_on:
- unbound-mailcow
- mysql-mailcow
- redis-mailcow
- clamd-mailcow
- rspamd-mailcow
- php-fpm-mailcow
- sogo-mailcow
- dovecot-mailcow
- postfix-mailcow
- memcached-mailcow
- nginx-mailcow
- acme-mailcow
- netfilter-mailcow
- watchdog-mailcow
- dockerapi-mailcow
- solr-mailcow
environment:
- TZ=${TZ}
image: robbertkl/ipv6nat
restart: always
privileged: true
network_mode: "host"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /lib/modules:/lib/modules:ro
networks:
mailcow-network:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-mailcow
enable_ipv6: true
ipam:
driver: default
config:
- subnet: ${IPV4_NETWORK:-172.22.1}.0/24
- subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
volumes:
# Storage for email files
vmail-vol-1:
# Storage for attachments (deduplicated)
vmail-attachments-vol-1:
mysql-vol-1:
mysql-socket-vol-1:
redis-vol-1:
rspamd-vol-1:
solr-vol-1:
postfix-vol-1:
crypt-vol-1:
sogo-web-vol-1:
sogo-userdata-backup-vol-1:
and the
docker-compose.override.yml
version: '2.1'
services:
nginx-mailcow:
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx-mailcow.entrypoints=http"
- "traefik.http.routers.nginx-mailcow.rule=HostRegexp(`{host:(autodiscover|autoconfig|webmail|mail|email).+}`)"
- "traefik.http.middlewares.nginx-mailcow-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.nginx-mailcow.middlewares=nginx-mailcow-https-redirect"
- "traefik.http.routers.nginx-mailcow-secure.entrypoints=https"
- "traefik.http.routers.nginx-mailcow-secure.rule=Host(`mail.${DOMAIN_JS}`)" ###### hier eure FQDN angeben #####
- "traefik.http.routers.nginx-mailcow-secure.tls=true"
- "traefik.http.routers.nginx-mailcow-secure.service=nginx-mailcow"
- "traefik.http.services.nginx-mailcow.loadbalancer.server.port=80"
- "traefik.docker.network=external"
networks:
external:
certdumper:
image: humenius/traefik-certs-dumper
container_name: traefik_certdumper
network_mode: none
command: --restart-containers mailcowdockerized_postfix-mailcow_1,mailcowdockerized_dovecot-mailcow_1
volumes:
# mount the folder which contains Traefik's `acme.json' file
# in this case Traefik is started from its own docker-compose in ../traefik
- ${DOCKERDIR}/traefik/letsencrypt:/traefik:ro
# mount mailcow's SSL folder
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data/assets/ssl:/output:rw
environment:
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
#- DOMAIN=${MAILCOW_HOSTNAME}
- DOMAIN=${DOMAIN_JS} #### Hier eure Domain ohne mail angeben ###
networks:
external:
external: true
Can you explain to me why there is this loop?