文章目录
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/f987b1bb86b18e4311997956c90d676d.png#pic_center)
H2模式
version: '3'
services:
skywalking:
restart: always
image: apache/skywalking-oap-server
container_name: skywalking
ports:
- 1234:1234
- 11800:11800
- 12800:12800
skywalking-ui:
image: apache/skywalking-ui
restart: always
depends_on:
- skywalking
ports:
- 8080:8080
environment:
- SW_OAP_ADDRESS=skywalking:12800
SpringBoot项目执行:
java -jar atgoods.jar -javaagent:D:\tools\apache-skywalking-apm-bin\agent\skywalking-agent.jar -Dskywalking.agent.service_name=dmp -Dskywalking.collector.backend_service=10.110.87.202:11800