You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/11/02 15:21:59 UTC

[GitHub] mistercrunch closed pull request #6264: Externally Visible Server

mistercrunch closed pull request #6264:  Externally Visible Server
URL: https://github.com/apache/incubator-superset/pull/6264
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/contrib/docker/docker-entrypoint.sh b/contrib/docker/docker-entrypoint.sh
index 368f6866c1..aff2bb3f5a 100644
--- a/contrib/docker/docker-entrypoint.sh
+++ b/contrib/docker/docker-entrypoint.sh
@@ -4,7 +4,7 @@ set -ex
 if [ "$#" -ne 0 ]; then
     exec "$@"
 elif [ "$SUPERSET_ENV" = "local" ]; then
-    flask run -p 8080 --with-threads --reload --debugger
+    flask run -p 8080 --with-threads --reload --debugger  --host=0.0.0.0
 elif [ "$SUPERSET_ENV" = "production" ]; then
     superset runserver -a 0.0.0.0 -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1))
 else
diff --git a/contrib/docker/docker-init.sh b/contrib/docker/docker-init.sh
index 890c4ebf17..6ba5ca7156 100644
--- a/contrib/docker/docker-init.sh
+++ b/contrib/docker/docker-init.sh
@@ -21,4 +21,4 @@ cd superset/assets && npm run build && cd ../../
 superset worker &
 
 # Start the dev web server
-flask run -p 8080 --with-threads --reload --debugger
+flask run -p 8080 --with-threads --reload --debugger --host=0.0.0.0


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org