mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 07:52:56 +01:00
23 lines
532 B
Text
23 lines
532 B
Text
|
# This is a configuration template for a single worker instance, and is
|
||
|
# used by Dockerfile-workers.
|
||
|
# Values will be change depending on whichever workers are selected when
|
||
|
# running that image.
|
||
|
|
||
|
worker_app: "{{ app }}"
|
||
|
worker_name: "{{ name }}"
|
||
|
|
||
|
worker_listeners:
|
||
|
- type: http
|
||
|
port: {{ port }}
|
||
|
{% if listener_resources %}
|
||
|
resources:
|
||
|
- names:
|
||
|
{%- for resource in listener_resources %}
|
||
|
- {{ resource }}
|
||
|
{%- endfor %}
|
||
|
{% endif %}
|
||
|
|
||
|
worker_log_config: {{ worker_log_config_filepath }}
|
||
|
|
||
|
{{ worker_extra_conf }}
|