mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
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.
This commit is contained in:
parent
2f7ebc2a55
commit
1ddc7b39c9
2 changed files with 2 additions and 0 deletions
1
changelog.d/5568.feature
Normal file
1
changelog.d/5568.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Docker image: open the non-TLS port by default.
|
|
@ -164,6 +164,7 @@ def run_generate_config(environ, ownership):
|
||||||
"--data-directory",
|
"--data-directory",
|
||||||
data_dir,
|
data_dir,
|
||||||
"--generate-config",
|
"--generate-config",
|
||||||
|
"--open-private-ports",
|
||||||
]
|
]
|
||||||
# log("running %s" % (args, ))
|
# log("running %s" % (args, ))
|
||||||
os.execv("/usr/local/bin/python", args)
|
os.execv("/usr/local/bin/python", args)
|
||||||
|
|
Loading…
Reference in a new issue