summary refs log tree commit diff
path: root/docker/configure_workers_and_start.py
diff options
context:
space:
mode:
authorMathieu Velten <matmaul@gmail.com>2021-01-19 11:12:35 +0100
committerMathieu Velten <matmaul@gmail.com>2021-01-19 11:12:35 +0100
commitf19f47b44b72610d8da226399442ec1fcbc1d4f4 (patch)
treed4bd344900576f54b725e7419323332547f08298 /docker/configure_workers_and_start.py
parentTemp: add script for building and running worker-mode synapse in complement (diff)
downloadsynapse-mv/synapse_worker_docker.tar.xz
Add test image for complement with workers github/mv/synapse_worker_docker mv/synapse_worker_docker
Diffstat (limited to 'docker/configure_workers_and_start.py')
-rwxr-xr-xdocker/configure_workers_and_start.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py

index 12ab81839f..374089b0dd 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py
@@ -144,8 +144,7 @@ def generate_base_homeserver_config(): """ # start.py already does this for us, so just call that. # note that this script is copied in in the official, monolith dockerfile - output = subprocess.check_output(["/usr/local/bin/python", "/start.py", "generate"], shell=True) - print("Got output:", output) + subprocess.check_output(["/usr/local/bin/python", "/start.py", "migrate_config"]) def generate_worker_files(environ, config_path: str, data_dir: str): @@ -226,8 +225,8 @@ exitcodes=0 nginx_config_template_header = """ server { # Listen on Synapse's default HTTP port number - listen 80; - listen [::]:80; + listen 8080; + listen [::]:8080; server_name localhost;