summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-27 13:50:10 +0100
committerGitHub <noreply@github.com>2019-06-27 13:50:10 +0100
commit1ddc7b39c90d0d823fc6935857eda5153b542d83 (patch)
treeb3b15d32a2c7cc583bcdc0f0d9352e87d7032c18
parentDeprecate the env var way of running the docker image (#5566) (diff)
downloadsynapse-1ddc7b39c90d0d823fc6935857eda5153b542d83.tar.xz
Docker image: open the non-TLS port by default. (#5568)
There's not much point in binding to localhost when it's in a docker container.
-rw-r--r--changelog.d/5568.feature1
-rwxr-xr-xdocker/start.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/5568.feature b/changelog.d/5568.feature
new file mode 100644
index 0000000000..59b9e5f96d
--- /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 89ec9ebaf8..2a13308dae 100755
--- a/docker/start.py
+++ b/docker/start.py
@@ -164,6 +164,7 @@ def run_generate_config(environ, ownership):
         "--data-directory",
         data_dir,
         "--generate-config",
+        "--open-private-ports",
     ]
     # log("running %s" % (args, ))
     os.execv("/usr/local/bin/python", args)