Skip to content

Commit ca4ec20

Browse files
authored
Merge pull request #132 from dromara/dev
Dev
2 parents a0a7240 + 8db2986 commit ca4ec20

File tree

297 files changed

+14348
-583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+14348
-583
lines changed

.env.example

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
VOLUME_BASE=/data/orion-visor-space/docker-volumes
22

3-
DEMO_MODE=false
4-
53
SERVICE_PORT=1081
64
SPRING_PROFILES_ACTIVE=prod
5+
6+
DEMO_MODE=false
7+
8+
API_CORS=true
79
SECRET_KEY=uQeacXV8b3isvKLK
10+
API_EXPOSE_TOKEN=pmqeHOyZaumHm0Wt
811

912
MYSQL_HOST=mysql
1013
MYSQL_PORT=3306
@@ -25,3 +28,11 @@ GUACD_SSH_USERNAME=guacd
2528
GUACD_SSH_PASSWORD=guacd
2629
GUACD_DRIVE_PATH=/drive
2730

31+
INFLUXDB_ENABLED=true
32+
INFLUXDB_HOST=influxdb
33+
INFLUXDB_PORT=8086
34+
INFLUXDB_ORG=orion-visor
35+
INFLUXDB_BUCKET=metrics
36+
INFLUXDB_TOKEN=Data@123456
37+
INFLUXDB_ADMIN_USERNAME=admin
38+
INFLUXDB_ADMIN_PASSWORD=Data@123456

.gitee/ISSUE_TEMPLATE.zh-CN.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### *当前使用版本 (必填)
2+
3+
### 问题描述
4+
5+
### 该问题是如何引起的
6+
7+
### 重现步骤
8+
9+
### 报错信息
10+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### 修改描述
2+
3+
### 关联的 Issue
4+
5+
### 测试用例
6+
7+
### 修复效果的截屏
8+
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: 错误报告
2+
description: File a bug report.
3+
title: "[错误报告]: "
4+
labels: [ "" ]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
在提交前请确认:
10+
- 使用的是[最新版本](https://github.com/dromara/orion-visor/releases)
11+
- 参考了[安装文档](https://visor.orionsec.cn/quickstart/docker.html)
12+
- 查阅了[常见问题](https://visor.orionsec.cn/support/faq.html)
13+
- 搜索了[已有 issue](https://github.com/dromara/orion-visor/issues)
14+
- type: checkboxes
15+
id: confirm
16+
attributes:
17+
label: 确认
18+
description: 在提交 issue 之前, 请确认你已经阅读并确认以下内容
19+
options:
20+
- label: 我使用的是最新版本 [最新版](https://github.com/dromara/orion-visor/releases)
21+
required: true
22+
- label: 我使用官方文档进行部署 [安装文档](https://visor.orionsec.cn/quickstart/docker.html)
23+
required: true
24+
- label: 我已检查了 [常见问题](https://visor.orionsec.cn/support/faq.html) 并没有找到解决方法
25+
required: true
26+
- label: 我已搜索 [issue](https://github.com/dromara/orion-visor/issues) 并没有找到相关问题
27+
required: true
28+
- type: input
29+
id: version
30+
attributes:
31+
label: 当前程序版本
32+
description: 遇到问题时程序所在的版本号
33+
validations:
34+
required: true
35+
- type: dropdown
36+
id: install
37+
attributes:
38+
label: 安装方式
39+
options:
40+
- Docker
41+
- 普通安装
42+
- 其他
43+
validations:
44+
required: true
45+
- type: textarea
46+
id: what-happened
47+
attributes:
48+
label: 问题描述
49+
description: 请详细描述你碰到的问题
50+
placeholder: "问题描述"
51+
validations:
52+
required: true
53+
- type: textarea
54+
id: logs
55+
attributes:
56+
label: 详细日志
57+
description: 问题出现时的程序日志
58+
render: bash

.github/ISSUE_TEMPLATE/config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 官网
4+
url: https://visor.orionsec.cn/
5+
about: document.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 功能改进
2+
description: 提出新功能建议 (请提交到需求收集帖)
3+
title: "[功能建议]: "
4+
labels: [ "" ]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
所有功能建议请统一提交到需求收集帖: 🔗 [#83 需求收集](https://github.com/dromara/orion-visor/issues/83)
10+
11+
在提交前请确认:
12+
- ✅ 使用的是[最新版本](https://github.com/dromara/orion-visor/releases)
13+
- ✅ 已搜索[已有 issue](https://github.com/dromara/orion-visor/issues) 和 需求收集帖避免重复
14+
- ✅ 定制化需求请联系作者
15+
16+
---
17+
18+
### 如何提交高质量建议?
19+
1. **功能描述**: 你希望增加什么?
20+
2. **使用场景**: 你在什么情况下需要它?
21+
4. **参考实现**: 开源项目中的类似功能(**禁止引用商业闭源软件**)
22+
- type: textarea
23+
id: feature
24+
attributes:
25+
label: 功能改进
26+
description: 请详细描述需要改进或者添加的功能。
27+
placeholder: "功能改进"
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: references
32+
attributes:
33+
label: 参考资料
34+
description: 可以列举一些参考资料, 但是不要引用同类但商业化软件的任何内容。
35+
placeholder: "参考资料"
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
pnpm install
4242
pnpm build
4343
44+
- name: 📦️ Download instance-agent
45+
working-directory: ./docker/service
46+
run: wget https://github.com/lijiahangmax/orion-visor-agent/releases/latest/download/instance-agent-release.tar.gz -O instance-agent-release.tar.gz
47+
4448
- name: 📁 Prepare build context
4549
run: |
4650
cp -r ./sql ./docker/mysql/sql
@@ -62,7 +66,7 @@ jobs:
6266

6367
strategy:
6468
matrix:
65-
service: [ adminer, guacd, mysql, redis, service, ui ]
69+
service: [ adminer, guacd, mysql, redis, influxdb, service, ui ]
6670

6771
env:
6872
GITHUB_REGISTRY: ghcr.io

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
run: |
1919
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
2020
sudo chmod u+x /usr/local/bin/docker-compose
21-
docker compose -f docker-compose-testing.yml up --build testing --exit-code-from testing --remove-orphans
21+
docker compose -f docker-compose-testing.yaml up --build testing --exit-code-from testing --remove-orphans

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
1. 禁止修改或删除 LICENSE 文件。
66
2. 禁止修改或删除源码头部的版权声明。
77
3. 本项目可免费商业使用,商业使用请保留项目源码、出处、描述文件和作者声明等。
8-
4. 分发源码时候,请注明软件出处 https://visor.dromara.org/
8+
4. 分发源码时候,请注明软件出处 https://visor.orionsec.cn/
99
5. 不可二次开发或参与同类竞品的开发。

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* **文件管理**:支持远程主机 SFTP 大文件的批量上传、下载和在线编辑等操作。
5353
* **批量操作**:支持批量执行主机命令、多主机文件分发等功能。
5454
* **计划任务**:支持配置 cron 表达式,定时执行主机命令。
55-
* **系统监控**(开发中)
55+
* **系统监控**支持对主机 CPU、内存、磁盘、网络等系统指标的监控和告警
5656
* **安全可靠**:动态配置权限,记录用户操作日志,提供简单的审计功能。
5757

5858
## 演示环境
@@ -88,6 +88,7 @@ docker compose up -d
8888
* SpringBoot 2.7+
8989
* Mysql 8.0+
9090
* Redis 6.0+
91+
* InfluxDB 2.7+
9192
* Vue 3.5+
9293
* Arco Design 2.56+
9394

@@ -109,6 +110,11 @@ docker compose up -d
109110

110111
![主机列表](docs/assets/screenshot/host-list.png?time=20250627 "主机列表")
111112

113+
#### 主机监控
114+
115+
![主机监控](docs/assets/screenshot/monitor-list.png?time=20250627 "主机监控")
116+
![监控详情](docs/assets/screenshot/monitor-detail.png?time=20250627 "监控详情")
117+
112118
#### 批量执行
113119

114120
![批量执行](docs/assets/screenshot/exec-command.png?time=20250627 "批量执行")
@@ -155,6 +161,10 @@ QQ群: 755242157
155161

156162
本项目遵循 [Apache-2.0](https://github.com/dromara/orion-visor/blob/main/LICENSE) 开源许可证。
157163

164+
## 贡献者
165+
166+
[![Contributors](https://contri.buzz/api/wall?repo=dromara/orion-visor)](https://github.com/dromara/orion-visor, "Contributors")
167+
158168
## Gitee 最有价值的开源项目 GVP
159169

160170
![GVP](docs/assets/gvp.jpg?time=20250627 "GVP")

0 commit comments

Comments
 (0)