summary refs log tree commit diff
path: root/docker/conf-workers
diff options
context:
space:
mode:
Diffstat (limited to 'docker/conf-workers')
-rw-r--r--docker/conf-workers/shared.yaml.j211
-rw-r--r--docker/conf-workers/supervisord.conf.j29
2 files changed, 20 insertions, 0 deletions
diff --git a/docker/conf-workers/shared.yaml.j2 b/docker/conf-workers/shared.yaml.j2

index 1dfc60ad11..1f23e18d3b 100644 --- a/docker/conf-workers/shared.yaml.j2 +++ b/docker/conf-workers/shared.yaml.j2
@@ -20,4 +20,15 @@ app_service_config_files: {%- endfor %} {%- endif %} +{% if enable_mas %} +experimental_features: + msc3861: + enabled: true + issuer: "http://localhost:8008/" + client_id: "0000000000000000000SYNAPSE" + client_auth_method: client_secret_basic + client_secret: choozia3ThiefahZaofeiveish1kahr0 + admin_token: eeShoo4ceebae4Lo4Che1hoofoophaiz +{% endif %} + {{ shared_worker_config }} diff --git a/docker/conf-workers/supervisord.conf.j2 b/docker/conf-workers/supervisord.conf.j2
index da93358051..fbd2433d37 100644 --- a/docker/conf-workers/supervisord.conf.j2 +++ b/docker/conf-workers/supervisord.conf.j2
@@ -35,3 +35,12 @@ autorestart=true # Redis can be disabled if the image is being used without workers autostart={{ enable_redis }} +[program:mas] +comamnd=/usr/local/bin/prefix-log /usr/local/bin/mas-cli --config /conf/mas.yaml +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 +autorestart=unexpected + +autostart={{ enable_mas }}