From cb305a75dfecebeb234ed68e7658b173c5d94245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 2 Aug 2024 14:46:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20CORE=5FHOST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- allinone/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) 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