mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 01:09:22 -05: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
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 New Issue
Block a user