summary refs log tree commit diff
path: root/docs/systemd-with-workers/workers/media_worker.yaml
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-09-30 20:24:39 -0500
committerEric Eastwood <erice@element.io>2022-09-30 20:24:39 -0500
commit4a495ac43b093eb5e223b64ab5bc033233ab83b9 (patch)
treea656afce9494d347c1cf960fe941e2d842ea2422 /docs/systemd-with-workers/workers/media_worker.yaml
parentMerge branch 'develop' into madlittlemods/11850-migrate-to-opentelemetry (diff)
parentClarifications in user directory for users who share rooms tracking (#13966) (diff)
downloadsynapse-4a495ac43b093eb5e223b64ab5bc033233ab83b9.tar.xz
Merge branch 'develop' into madlittlemods/11850-migrate-to-opentelemetry
Conflicts:
	synapse/handlers/message.py
	synapse/logging/opentracing.py
Diffstat (limited to 'docs/systemd-with-workers/workers/media_worker.yaml')
-rw-r--r--docs/systemd-with-workers/workers/media_worker.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/systemd-with-workers/workers/media_worker.yaml b/docs/systemd-with-workers/workers/media_worker.yaml
new file mode 100644
index 0000000000..eb34d12492
--- /dev/null
+++ b/docs/systemd-with-workers/workers/media_worker.yaml
@@ -0,0 +1,14 @@
+worker_app: synapse.app.media_repository
+worker_name: media_worker
+
+# The replication listener on the main synapse process.
+worker_replication_host: 127.0.0.1
+worker_replication_http_port: 9093
+
+worker_listeners:
+  - type: http
+    port: 8085
+    resources:
+      - names: [media]
+
+worker_log_config: /etc/matrix-synapse/media-worker-log.yaml