diff --git a/common-settings.yml b/common-settings.yml new file mode 100644 index 0000000..9fd26d7 --- /dev/null +++ b/common-settings.yml @@ -0,0 +1,11 @@ +services: + common-settings: + environment: + TZ: "${TIMEZONE:-Etc/UTC}" + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "10" + compress: "true" + restart: "${RESTARTPOLICY:-unless-stopped}" diff --git a/mailcow/docker-compose.override.yml b/mailcow/docker-compose.override.yml index e69de29..2d6f066 100644 --- a/mailcow/docker-compose.override.yml +++ b/mailcow/docker-compose.override.yml @@ -0,0 +1,77 @@ +services: + unbound-mailcow: + extends: + file: common-settings.yml + service: common-settings + mysql-mailcow: + extends: + file: common-settings.yml + service: common-settings + redis-mailcow: + extends: + file: common-settings.yml + service: common-settings + clamd-mailcow: + extends: + file: common-settings.yml + service: common-settings + rspamd-mailcow: + extends: + file: common-settings.yml + service: common-settings + php-fpm-mailcow: + extends: + file: common-settings.yml + service: common-settings + sogo-mailcow: + extends: + file: common-settings.yml + service: common-settings + dovecot-mailcow: + extends: + file: common-settings.yml + service: common-settings + postfix-mailcow: + extends: + file: common-settings.yml + service: common-settings + memcached-mailcow: + extends: + file: common-settings.yml + service: common-settings + nginx-mailcow: + extends: + file: common-settings.yml + service: common-settings + acme-mailcow: + extends: + file: common-settings.yml + service: common-settings + netfilter-mailcow: + extends: + file: common-settings.yml + service: common-settings + watchdog-mailcow: + extends: + file: common-settings.yml + service: common-settings + dockerapi-mailcow: + extends: + file: common-settings.yml + service: common-settings + solr-mailcow: + extends: + file: common-settings.yml + service: common-settings + olefy-mailcow: + extends: + file: common-settings.yml + service: common-settings + ofelia-mailcow: + extends: + file: common-settings.yml + service: common-settings + ipv6nat-mailcow: + extends: + file: common-settings.yml + service: common-settings