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