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:
Richard van der Hoff 2019-06-27 13:50:10 +01:00 committed by GitHub
parent 2f7ebc2a55
commit 1ddc7b39c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/5568.feature Normal file
View File

@ -0,0 +1 @@
Docker image: open the non-TLS port by default.

View File

@ -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)