From 98e09611f2800239205ffd9e2c56c9795528aaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Wed, 11 Jun 2025 15:04:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/10.sky-oap.sh | 2 +- init/11.sky-ui.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init/10.sky-oap.sh b/init/10.sky-oap.sh index 9c38983..b7cc376 100755 --- a/init/10.sky-oap.sh +++ b/init/10.sky-oap.sh @@ -50,6 +50,7 @@ docker run -d \ --network $NETWORK \ --memory $SKYWALKING_OAP_MEMORY \ --restart unless-stopped \ + -e TZ=Asia/Shanghai \ -e SW_STORAGE=elasticsearch7 \ -e SW_STORAGE_ES_CLUSTER_NODES=${ES_NAME}:9200 \ --mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \ @@ -57,4 +58,3 @@ docker run -d \ # 等待OAP启动 # 确认 OAP 完全启动后再启动 UI - \ No newline at end of file diff --git a/init/11.sky-ui.sh b/init/11.sky-ui.sh index fea8d52..580b2f9 100755 --- a/init/11.sky-ui.sh +++ b/init/11.sky-ui.sh @@ -50,7 +50,7 @@ docker run -d \ --restart unless-stopped \ -p ${SKYWALKING_UI_PORT}:8080 \ -e TZ=Asia/Shanghai \ - -e SW_OAP_ADDRESS=http://${SKYWALKING_OAP_NAME}:12800 \ + -e SW_OAP_ADDRESS=${SKYWALKING_OAP_NAME}:12800 \ --mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \ $SKYWALKING_UI_IMAGE