2021-04-14 14:54:49 +02:00
|
|
|
# This file contains the base for the shared homeserver config file between Synapse workers,
|
|
|
|
# as part of ./Dockerfile-workers.
|
|
|
|
# configure_workers_and_start.py uses and amends to this file depending on the workers
|
|
|
|
# that have been selected.
|
|
|
|
|
2022-06-08 11:57:05 +02:00
|
|
|
{% if enable_redis %}
|
2021-04-14 14:54:49 +02:00
|
|
|
redis:
|
|
|
|
enabled: true
|
2023-07-11 20:08:06 +02:00
|
|
|
{% if using_unix_sockets %}
|
|
|
|
path: /tmp/redis.sock
|
|
|
|
{% endif %}
|
2022-06-08 11:57:05 +02:00
|
|
|
{% endif %}
|
2021-04-14 14:54:49 +02:00
|
|
|
|
2022-05-23 15:11:06 +02:00
|
|
|
{% if appservice_registrations is not none %}
|
|
|
|
## Application Services ##
|
|
|
|
# A list of application service config files to use.
|
|
|
|
app_service_config_files:
|
|
|
|
{%- for path in appservice_registrations %}
|
|
|
|
- "{{ path }}"
|
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
|
|
|
|
|
|
|
{{ shared_worker_config }}
|