1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-07 05:59:17 +00:00
Files
mailcow-dockerized/data/conf/rspamd/config_templates/redis.conf.j2

11 lines
296 B
Django/Jinja

{% if REDIS_SLAVEOF_IP and REDIS_SLAVEOF_PORT %}
read_servers = "redis-mailcow:6379";
write_servers = "{{ REDIS_SLAVEOF_IP }}:{{ REDIS_SLAVEOF_PORT }}";
password = "{{ REDISPASS }}";
timeout = 10;
{% else %}
servers = "redis-mailcow:6379";
password = "{{ REDISPASS }}";
timeout = 10;
{% endif %}