summary refs log tree commit diff
path: root/docker
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 /docker
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.
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/start.py1
1 files changed, 1 insertions, 0 deletions
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)