diff --git a/allinone/entrypoint.sh b/allinone/entrypoint.sh index 5bdb3f8..156b7e5 100755 --- a/allinone/entrypoint.sh +++ b/allinone/entrypoint.sh @@ -40,6 +40,10 @@ fi rm -f /opt/jumpserver/tmp/*.pid +if [ ! "${CORE_HOST}" ]; then + export CORE_HOST=http://localhost:8080 +fi + if [ ! "${LOG_LEVEL}" ]; then export LOG_LEVEL=ERROR fi