From 4b235e0326182aa562638b7c0a6af0c1fa72e519 Mon Sep 17 00:00:00 2001 From: wanghe Date: Thu, 7 Dec 2023 15:16:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20Umami=20(#654)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 新增 Umami * refactor: 修改分类名称 --- apps/umami/2.4.1/data.yml | 47 ++++++++++++++++++++++++++++ apps/umami/2.4.1/docker-compose.yml | 19 +++++++++++ apps/umami/README.md | 21 +++++++++++++ apps/umami/data.yml | 19 +++++++++++ apps/umami/logo.png | Bin 0 -> 2523 bytes 5 files changed, 106 insertions(+) create mode 100644 apps/umami/2.4.1/data.yml create mode 100644 apps/umami/2.4.1/docker-compose.yml create mode 100644 apps/umami/README.md create mode 100644 apps/umami/data.yml create mode 100644 apps/umami/logo.png diff --git a/apps/umami/2.4.1/data.yml b/apps/umami/2.4.1/data.yml new file mode 100644 index 00000000..65267a7c --- /dev/null +++ b/apps/umami/2.4.1/data.yml @@ -0,0 +1,47 @@ +additionalProperties: + formFields: + - default: "" + envKey: PANEL_DB_HOST + key: mysql + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: service + - default: umami + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: umami + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: umami + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: 3000 + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: umami + envKey: HASH_SALT + labelEn: Hash Salt + labelZh: 哈希盐 (随机字符串) + random: true + required: true + type: text diff --git a/apps/umami/2.4.1/docker-compose.yml b/apps/umami/2.4.1/docker-compose.yml new file mode 100644 index 00000000..5959d188 --- /dev/null +++ b/apps/umami/2.4.1/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3' +services: + umami: + image: ghcr.io/umami-software/umami:mysql-v2.8.0 + container_name: ${CONTAINER_NAME} + restart: always + labels: + createdBy: "Apps" + ports: + - ${PANEL_APP_PORT_HTTP}:3000 + environment: + DATABASE_TYPE: mysql + DATABASE_URL: mysql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:3306/${PANEL_DB_NAME} + HASH_SALT: ${HASH_SALT} + networks: + - 1panel-network +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/umami/README.md b/apps/umami/README.md new file mode 100644 index 00000000..742f6ec1 --- /dev/null +++ b/apps/umami/README.md @@ -0,0 +1,21 @@ +# 使用说明 + +- 只支持 **MySQL 8.0 以上版本** 数据库。 +- 首次登录默认用户名为:admin,密码为:umami。 + +# Umami + +*Umami* 是 Google Analytics 的简单、快速、注重隐私的替代方案。 + +## 主要功能: + +- **实时数据监控**:提供实时网站访问数据,包括访客数量、页面浏览量等。 +- **流量来源追踪**:分析和显示网站访问流量的来源,包括搜索引擎、推荐网站等。 +- **地理位置分析**:展示访客的地理位置分布情况,帮助了解用户所在地区分布。 +- **关键指标跟踪**:提供关键指标如会话时长、页面停留时间等,帮助优化用户体验和网站内容。 + +## 优势: + +- **开源免费**:Umami 是开源项目,用户可以免费使用和定制。 +- **用户友好**:简洁直观的界面,易于使用和导航。 +- **隐私保护**:强调用户数据隐私保护,在合规性方面有所考虑。 diff --git a/apps/umami/data.yml b/apps/umami/data.yml new file mode 100644 index 00000000..488841e3 --- /dev/null +++ b/apps/umami/data.yml @@ -0,0 +1,19 @@ +name: Umami +tags: + - 实用工具 +title: Umami 是 Google Analytics 的简单、快速、注重隐私的替代方案 +type: 实用工具 +description: Umami 是 Google Analytics 的简单、快速、注重隐私的替代方案 +additionalProperties: + key: umami + name: Umami + tags: + - Tool + shortDescZh: Umami 是 Google Analytics 的简单、快速、注重隐私的替代方案 + shortDescEn: Umami is a simple, fast, privacy-focused alternative to Google Analytics + type: tool + crossVersionUpdate: true + limit: 0 + website: https://umami.is/ + github: https://github.com/umami-software/umami + document: https://umami.is/docs \ No newline at end of file diff --git a/apps/umami/logo.png b/apps/umami/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..abc842c399687a8e59cf2a71a1ca9a7f3928587b GIT binary patch literal 2523 zcmV<12_*K3P)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Rf2onh|C<4CP-2eax<4Ht8RCwC$oO@7I*B!^d=iXhG z-Q~TwffWTrLnMkI=p@8(EJe*r2b?^LNUNo2lN#Ge)1;ZSGpSA|or#lnV&ga_)>>0r z+mM+gH8H7;X*wlUqDF}EQI&|Oh+zSd=kDIyKR{bM6*!N3IkD$E!_30obM}1p_dAz+ ze&=_7WB@mZw6Pw50#P86OM%EH1tOaih-^|IvPpr+CIup!6o_n6AhJn;$R-6Mn-qv_ zQXsNPfygEWBAXP5Y*HYyNrA{F1tOaih-^|IvPpr+CIup!ZW<7WrM(kE$lxo}G|ew3 z2qA>@2hUz;>lujXPES&*KgDa9Cal7-1cVT+udA!^>BD&M#OYsLXvnIvG zx(#bgLxd-15-r@`Qn&BZi^1;j_3!B3ME|tevr>IdLp+OM5TYS?;Jpucde(tYsnAJ%n_G{(5;xuvsW#gd2wA$r%gpI*HFZ@N?0h-pMZk?a4S{KU!x z!;lh$Xy)!feQy2h9X3@PR$z=G;&0uY9&8flJ5?He;E;8Z=*aJe)`uxk?003Wk^=(cv ziZ+qsTVHJf0Jtl^ogF2>DEuI#@3kEtga9C|cPNJberRF!|YXH&shADf8GR0O&n6J&oHW zoFD}CYia?&RrFFRl|2ABb7zN}djOn2JR_BNg~#by;a4{u1c0=s7foPk-~YxlCjnqu zRke%HD10FLyWea9fYe`>vVNm`sy_#SgpCjJJ$Z3ilw97~0sxK&?`H02?%>So*xAnK zTs(7xgg0yq1Mn?d8_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