From f19f47b44b72610d8da226399442ec1fcbc1d4f4 Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 19 Jan 2021 11:12:35 +0100 Subject: Add test image for complement with workers --- docker/configure_workers_and_start.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docker/configure_workers_and_start.py') 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; -- cgit 1.5.1