feat: 新增 Umami (#301)

This commit is contained in:
wanghe 2023-08-03 22:29:52 +08:00 committed by GitHub
parent 7aba5b541d
commit b82dec0f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 101 additions and 0 deletions

47
apps/umami/2.4.1/data.yml Normal file
View File

@ -0,0 +1,47 @@
additionalProperties:
formFields:
- default: ""
envKey: PANEL_DB_HOST
key: mysql
labelEn: Database Service (Supports only 8.0)
labelZh: 数据库服务 (仅支持 8.0)
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: Database User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: umami
envKey: PANEL_DB_USER_PASSWORD
labelEn: Database User Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 3000
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: umami
envKey: HASH_SALT
labelEn: Hash Salt
labelZh: 哈希盐 (随机字符串)
random: true
required: true
type: text

View File

@ -0,0 +1,19 @@
version: '3'
services:
umami:
image: ghcr.io/umami-software/umami:mysql-v2.4.1
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

16
apps/umami/README.md Normal file
View File

@ -0,0 +1,16 @@
# 使用说明
- MySQL 数据库版本仅支持 8.0(不支持 5.6 和 5.7
- 默认的用户名是 admin密码是 umami。
# umami
Umami is a simple, fast, privacy-focused alternative to Google Analytics.
## Getting started
A detailed getting started guide can be found at [https://umami.is/docs/](https://umami.is/docs/)
## License
MIT

19
apps/umami/data.yml Normal file
View File

@ -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

BIN
apps/umami/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB