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