This commit is contained in:
孙小云 2025-06-11 15:04:40 +08:00
parent 2fbfbd2dfa
commit 98e09611f2
2 changed files with 2 additions and 2 deletions

View File

@ -50,6 +50,7 @@ docker run -d \
--network $NETWORK \ --network $NETWORK \
--memory $SKYWALKING_OAP_MEMORY \ --memory $SKYWALKING_OAP_MEMORY \
--restart unless-stopped \ --restart unless-stopped \
-e TZ=Asia/Shanghai \
-e SW_STORAGE=elasticsearch7 \ -e SW_STORAGE=elasticsearch7 \
-e SW_STORAGE_ES_CLUSTER_NODES=${ES_NAME}:9200 \ -e SW_STORAGE_ES_CLUSTER_NODES=${ES_NAME}:9200 \
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \ --mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
@ -57,4 +58,3 @@ docker run -d \
# 等待OAP启动 # 等待OAP启动
# 确认 OAP 完全启动后再启动 UI # 确认 OAP 完全启动后再启动 UI

View File

@ -50,7 +50,7 @@ docker run -d \
--restart unless-stopped \ --restart unless-stopped \
-p ${SKYWALKING_UI_PORT}:8080 \ -p ${SKYWALKING_UI_PORT}:8080 \
-e TZ=Asia/Shanghai \ -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 \ --mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
$SKYWALKING_UI_IMAGE $SKYWALKING_UI_IMAGE