From 3bbf0c4040492c567530ee7790279e8742637815 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 26 Jun 2019 14:55:19 +0100 Subject: [PATCH] Docker image: open the non-TLS port by default. There's not much point in binding to localhost when it's in a docker container. --- changelog.d/5568.feature | 1 + docker/start.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/5568.feature diff --git a/changelog.d/5568.feature b/changelog.d/5568.feature new file mode 100644 index 000000000000..59b9e5f96dc9 --- /dev/null +++ b/changelog.d/5568.feature @@ -0,0 +1 @@ +Docker image: open the non-TLS port by default. diff --git a/docker/start.py b/docker/start.py index bdb703aebd04..4c4cb3a8f6ed 100755 --- a/docker/start.py +++ b/docker/start.py @@ -126,6 +126,7 @@ def run_generate_config(environ): "--config-path", environ["SYNAPSE_CONFIG_PATH"], "--generate-config", + "--open-private-ports", ] os.execv("/usr/local/bin/python", args)