summary refs log tree commit diff
path: root/docker/conf-workers
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-05-23 14:11:06 +0100
committerGitHub <noreply@github.com>2022-05-23 14:11:06 +0100
commit67aae05ece9b6e07fedc73f737c0d6db6351d6c7 (patch)
treee8fd107da64ea40ad70f72043e794420658d472c /docker/conf-workers
parentAdd some type hints to tests files (#12833) (diff)
downloadsynapse-67aae05ece9b6e07fedc73f737c0d6db6351d6c7.tar.xz
Support registering Application Services when running with workers under Complement. (#12826)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'docker/conf-workers')
-rw-r--r--docker/conf-workers/shared.yaml.j211
1 files changed, 10 insertions, 1 deletions
diff --git a/docker/conf-workers/shared.yaml.j2 b/docker/conf-workers/shared.yaml.j2
index f94b8c6aca..644ed788f3 100644
--- a/docker/conf-workers/shared.yaml.j2
+++ b/docker/conf-workers/shared.yaml.j2
@@ -6,4 +6,13 @@
 redis:
     enabled: true
 
-{{ shared_worker_config }}
\ No newline at end of file
+{% 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 }}