feat(mailcow): Add docker compose overrides

This commit is contained in:
hygienic-books 2022-07-14 03:42:48 +02:00
parent 32a2e95817
commit 58d2c7b0ac
2 changed files with 88 additions and 0 deletions

11
common-settings.yml Normal file
View File

@ -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}"

View File

@ -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