mirror of https://github.com/apache/superset.git
Externally Visible Server (#6264)
* Externally Visible Server Usually, app in docker need to be tested in host * Update docker-entrypoint.sh
This commit is contained in:
parent
da24b0e0d7
commit
3115eec892
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue