1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-02-17 18:00:41 +00:00

Use config.json to render multiple Jinja2 templates

This commit is contained in:
FreddleSpl0it
2025-05-22 14:07:39 +02:00
parent 13b4f86d29
commit dba9675a9b
18 changed files with 329 additions and 88 deletions

View File

@@ -0,0 +1,30 @@
[
{
"template": "mailcow_networks.map.j2",
"output": "/etc/rspamd/custom/mailcow_networks.map"
},
{
"template": "dovecot_trusted.map.j2",
"output": "/etc/rspamd/custom/dovecot_trusted.map"
},
{
"template": "rspamd_trusted.map.j2",
"output": "/etc/rspamd/custom/rspamd_trusted.map"
},
{
"template": "external_services.conf.j2",
"output": "/etc/rspamd/local.d/external_services.conf"
},
{
"template": "redis.conf.j2",
"output": "/etc/rspamd/local.d/redis.conf"
},
{
"template": "dqs-rbl.conf.j2",
"output": "/etc/rspamd/custom/dqs-rbl.conf"
},
{
"template": "worker-controller-password.inc.j2",
"output": "/etc/rspamd/override.d/worker-controller-password.inc"
}
]