diff --git a/apps/tianji/1.6.0/data.yml b/apps/tianji/1.6.0/data.yml new file mode 100644 index 00000000..fd594b40 --- /dev/null +++ b/apps/tianji/1.6.0/data.yml @@ -0,0 +1,73 @@ +additionalProperties: + formFields: + - default: 12345 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Web Port + labelZh: Web 端口 + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: PANEL_DB_HOST + key: postgres + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: service + - default: tianji + envKey: PANEL_DB_NAME + labelEn: Database Name + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: tianji + envKey: PANEL_DB_USER + labelEn: Database User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: tianji + envKey: PANEL_DB_USER_PASSWORD + labelEn: Database Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: any-random-text + edit: true + envKey: JWT_SECRET + labelEn: Secret + labelZh: 秘钥 + random: true + required: true + rule: paramComplexity + type: text + - default: "true" + envKey: ALLOW_OPENAPI + labelEn: Allow OpenAPI + labelZh: 是否开启OpenAPI + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "false" + envKey: ALLOW_REGISTER + labelEn: Allow Register + labelZh: 是否允许注册 + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" diff --git a/apps/tianji/1.6.0/docker-compose.yml b/apps/tianji/1.6.0/docker-compose.yml new file mode 100644 index 00000000..663255c3 --- /dev/null +++ b/apps/tianji/1.6.0/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + tianji: + container_name: ${CONTAINER_NAME} + restart: unless-stopped + image: moonrailgun/tianji:1.6.0 + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:12345 + environment: + - DATABASE_URL=postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} + - JWT_SECRET=${JWT_SECRET} + - ALLOW_REGISTER=${ALLOW_REGISTER} + - ALLOW_OPENAPI=${ALLOW_OPENAPI} + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/tianji/README.md b/apps/tianji/README.md new file mode 100644 index 00000000..df43f185 --- /dev/null +++ b/apps/tianji/README.md @@ -0,0 +1,21 @@ +# Tianji + +Tianji 是一款开源的 all-in-one 数据洞察中心。 + +简单的来说, `Tianji` = `Website Analytics` + `Uptime Monitor` + `Server Status` + +- [官网](https://tianji.msgbyte.com/) +- [Github](https://github.com/msgbyte/tianji) + +默认用户名/密码: `admin`/`admin` 请尽快修改 + +## 主要功能: + +- **网站流量分析**:只需一段小于2kb的脚本即可监控网站的**PV/UV**, **在线时长**, **跳出率**, **访客设备使用情况**, **地理位置**,**访问来源**等等信息。可以理解为`Google Analytics`. +- **服务监控**: 实时监控服务响应时间,包括`http`、`tcp`、`ping`等多种监控手段。如果有需要更高级的方式甚至可以编写自定义脚本 +- **服务状态页**: 提供给外部一个可以访问的公开页,包含了需要展示给外部看的服务状态页面。 +- **服务器状态监控**: 简单来说,就是类似于`serverstatus`一样可以监控服务器当前`cpu`、`内存`、`网络流量`、`磁盘空间`等状况 +- **多种通知方式**: 支持100多种常见的通知方式(主要由apprise提供),包括但不限于`邮件`、`telegram`、`serverchan`等 +- **可自定义的dashboard布局**: 支持自定义的dashboard布局。满足大量内容管理的自定义展示。 +- **亮色/暗色模式**: 支持亮色暗色模式,保护使用者的眼睛。 +- **多国语言支持**: Tianji 支持英法德日俄中等世界常见语言。 diff --git a/apps/tianji/data.yml b/apps/tianji/data.yml new file mode 100644 index 00000000..57f53ecb --- /dev/null +++ b/apps/tianji/data.yml @@ -0,0 +1,19 @@ +name: Tianji +tags: + - 实用工具 +title: Tianji 是一款开源的 all-in-one 数据洞察中心。Tianji = Website Analytics + Uptime Monitor + Server Status +type: 实用工具 +description: Tianji 是一款开源的 all-in-one 数据洞察中心 +additionalProperties: + key: tianji + name: Tianji + tags: + - Tool + shortDescZh: Tianji 是一款开源的 all-in-one 数据洞察中心 + shortDescEn: All-in-One Insight Hub + type: tool + crossVersionUpdate: true + limit: 0 + website: https://tianji.msgbyte.com/ + github: https://github.com/msgbyte/tianji + document: https://tianji.msgbyte.com/ diff --git a/apps/tianji/logo.png b/apps/tianji/logo.png new file mode 100644 index 00000000..db128c8b Binary files /dev/null and b/apps/tianji/logo.png differ