shared.yaml.j2 571 B

1234567891011121314151617181920
  1. # This file contains the base for the shared homeserver config file between Synapse workers,
  2. # as part of ./Dockerfile-workers.
  3. # configure_workers_and_start.py uses and amends to this file depending on the workers
  4. # that have been selected.
  5. {% if enable_redis %}
  6. redis:
  7. enabled: true
  8. {% endif %}
  9. {% if appservice_registrations is not none %}
  10. ## Application Services ##
  11. # A list of application service config files to use.
  12. app_service_config_files:
  13. {%- for path in appservice_registrations %}
  14. - "{{ path }}"
  15. {%- endfor %}
  16. {%- endif %}
  17. {{ shared_worker_config }}