1.搭建 skywalking-oap
bash
docker run --name skywalking-oap --restart always -d \
-p 11800:11800 -p 12800:12800 \
--network 1panel-network \
-e SW_STORAGE=elasticsearch \
-e SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200 \
apache/skywalking-oap-server:latest
2.搭建skywalking-ui
bash
docker run --name skywalking-ui --restart always -d -p 8868:8080 -e SW_OAP_ADDRESS=http://skywalking-oap:12800 --network 1panel-network apache/skywalking-ui:latest