superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Externally Visible Server (#6264)
Date Fri, 02 Nov 2018 15:22:08 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 3115eec   Externally Visible Server (#6264)
3115eec is described below

commit 3115eec8921b647da9acc99b4c73b426c1b16434
Author: mlboy <mlboy@126.com>
AuthorDate: Fri Nov 2 23:21:57 2018 +0800

     Externally Visible Server (#6264)
    
    * Externally Visible Server
    
    Usually, app in docker need to be tested in host
    
    * Update docker-entrypoint.sh
---
 contrib/docker/docker-entrypoint.sh | 2 +-
 contrib/docker/docker-init.sh       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/docker/docker-entrypoint.sh b/contrib/docker/docker-entrypoint.sh
index 368f686..aff2bb3 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 890c4eb..6ba5ca7 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


Mime
View raw message