mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-07 05:59:17 +00:00
11 lines
296 B
Django/Jinja
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 %}
|