worker.yaml.j2 659 B

1234567891011121314151617181920212223242526
  1. # This is a configuration template for a single worker instance, and is
  2. # used by Dockerfile-workers.
  3. # Values will be change depending on whichever workers are selected when
  4. # running that image.
  5. worker_app: "{{ app }}"
  6. worker_name: "{{ name }}"
  7. # The replication listener on the main synapse process.
  8. worker_replication_host: 127.0.0.1
  9. worker_replication_http_port: 9093
  10. worker_listeners:
  11. - type: http
  12. port: {{ port }}
  13. {% if listener_resources %}
  14. resources:
  15. - names:
  16. {%- for resource in listener_resources %}
  17. - {{ resource }}
  18. {%- endfor %}
  19. {% endif %}
  20. worker_log_config: {{ worker_log_config_filepath }}
  21. {{ worker_extra_conf }}