mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 02:48:34 +08:00
!53 合并 skywalking 分支 完成整合
* add 新增 所有服务 docker 部署对接 skywalking * add 新增 三大 mq 整合 skywalking * add 新增 seata 整合 skywalking 手动编译 seata 插件包 * add 新增 ruoyi-common-skylog 整合 skywalking 日志推送 * add 增加 skywalking docker编排
This commit is contained in:
@@ -108,6 +108,8 @@ services:
|
||||
SEATA_PORT: 8091
|
||||
volumes:
|
||||
- /docker/ruoyi-seata-server/logs/:/ruoyi/seata-server/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -142,6 +144,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-sentinel-dashboard/logs/:/ruoyi/sentinel-dashboard/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
|
||||
@@ -156,6 +160,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-monitor/logs/:/ruoyi/monitor/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -170,6 +176,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-xxl-job-admin/logs/:/ruoyi/xxl-job-admin/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -184,6 +192,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-gateway/logs/:/ruoyi/gateway/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -198,6 +208,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-auth/logs/:/ruoyi/auth/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -212,6 +224,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-system/logs/:/ruoyi/system/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -226,6 +240,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-gen/logs/:/ruoyi/gen/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -240,6 +256,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-job/logs/:/ruoyi/job/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -254,6 +272,8 @@ services:
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/ruoyi-resource/logs/:/ruoyi/resource/logs
|
||||
# skywalking 探针
|
||||
- /docker/skywalking/agent/:/ruoyi/skywalking/agent
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
|
||||
@@ -413,3 +433,33 @@ services:
|
||||
depends_on:
|
||||
- kafka
|
||||
network_mode: "host"
|
||||
|
||||
sky-oap:
|
||||
image: apache/skywalking-oap-server:8.9.1
|
||||
container_name: sky-oap
|
||||
ports:
|
||||
- "11800:11800"
|
||||
- "12800:12800"
|
||||
environment:
|
||||
JAVA_OPTS: -Xms512m -Xmx1g
|
||||
#记录数据的有效期,单位天
|
||||
SW_CORE_RECORD_DATA_TTL: 7
|
||||
#分析指标数据的有效期,单位天
|
||||
SW_CORE_METRICS_DATA_TTL: 7
|
||||
SW_STORAGE: elasticsearch
|
||||
SW_STORAGE_ES_CLUSTER_NODES: 127.0.0.1:9200
|
||||
TZ: Asia/Shanghai
|
||||
network_mode: "host"
|
||||
|
||||
sky-ui:
|
||||
image: apache/skywalking-ui:8.9.1
|
||||
container_name: sky-ui
|
||||
ports:
|
||||
- "18080:18080"
|
||||
environment:
|
||||
SW_OAP_ADDRESS: http://127.0.0.1:12800
|
||||
TZ: Asia/Shanghai
|
||||
JAVA_OPTS: "-Dserver.port=18080"
|
||||
depends_on:
|
||||
- sky-oap
|
||||
network_mode: "host"
|
||||
|
||||
Reference in New Issue
Block a user