2021-04-14 08:54:49 -04: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 05:57:05 -04:00
|
|
|
{% if enable_redis %}
|
2021-04-14 08:54:49 -04:00
|
|
|
redis:
|
|
|
|
enabled: true
|
2023-07-11 14:08:06 -04:00
|
|
|
{% if using_unix_sockets %}
|
|
|
|
path: /tmp/redis.sock
|
|
|
|
{% endif %}
|
2022-06-08 05:57:05 -04:00
|
|
|
{% endif %}
|
2021-04-14 08:54:49 -04:00
|
|
|
|
2022-05-23 09:11:06 -04: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 }}
|