shared.yaml.j2 645 B

1234567891011121314151617181920212223
  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. {% if using_unix_sockets %}
  9. path: /tmp/redis.sock
  10. {% endif %}
  11. {% endif %}
  12. {% if appservice_registrations is not none %}
  13. ## Application Services ##
  14. # A list of application service config files to use.
  15. app_service_config_files:
  16. {%- for path in appservice_registrations %}
  17. - "{{ path }}"
  18. {%- endfor %}
  19. {%- endif %}
  20. {{ shared_worker_config }}