summary refs log tree commit diff
path: root/docker/worker_conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/worker_conf')
-rw-r--r--docker/worker_conf/main.conf9
-rw-r--r--docker/worker_conf/supervisord.conf19
2 files changed, 0 insertions, 28 deletions
diff --git a/docker/worker_conf/main.conf b/docker/worker_conf/main.conf
deleted file mode 100644
index 917b82500d..0000000000
--- a/docker/worker_conf/main.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-# A bit of Synapse config file that will be appended to the main homeserver config file.
-# It is intended for generate_shared_worker_config.py to add entries to this file to
-# disable functionality as equivalent workers are spun up.
-
-# TODO: extend the existing `listeners` section. This defines the ports that the
-# main process will listen on.
-
-redis:
-    enabled: true
diff --git a/docker/worker_conf/supervisord.conf b/docker/worker_conf/supervisord.conf
deleted file mode 100644
index 63c898e75b..0000000000
--- a/docker/worker_conf/supervisord.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[supervisord]
-nodaemon=true
-
-[program:nginx]
-command=/usr/sbin/nginx -g "daemon off;"
-priority=900
-stdout_logfile= /dev/stdout
-stdout_logfile_maxbytes=0
-stderr_logfile=/dev/stderr
-stderr_logfile_maxbytes=0
-username=www-data
-autorestart=true
-
-[program:synapse_main]
-command=/usr/local/bin/python -m synapse.app.homeserver \
-    --config-path=/config/homeserver.yaml \
-    --config-path=/config/main.yaml
-autorestart=unexpected
-exitcodes=0