From 406d1b0d841ddca222824bccd661364d0a143075 Mon Sep 17 00:00:00 2001 From: okxlin Date: Thu, 8 Aug 2024 23:25:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0medama=E5=88=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/medama/0.4.4/.env.sample | 2 ++ apps/medama/0.4.4/data.yml | 10 +++++++++ apps/medama/0.4.4/docker-compose.yml | 21 ++++++++++++++++++ apps/medama/0.4.4/scripts/uninstall.sh | 3 +++ apps/medama/README.md | 27 ++++++++++++++++++++++++ apps/medama/data.yml | 19 +++++++++++++++++ apps/medama/latest/.env.sample | 2 ++ apps/medama/latest/data.yml | 10 +++++++++ apps/medama/latest/docker-compose.yml | 21 ++++++++++++++++++ apps/medama/latest/scripts/uninstall.sh | 3 +++ apps/medama/logo.png | Bin 0 -> 1987 bytes 11 files changed, 118 insertions(+) create mode 100644 apps/medama/0.4.4/.env.sample create mode 100644 apps/medama/0.4.4/data.yml create mode 100644 apps/medama/0.4.4/docker-compose.yml create mode 100644 apps/medama/0.4.4/scripts/uninstall.sh create mode 100644 apps/medama/README.md create mode 100644 apps/medama/data.yml create mode 100644 apps/medama/latest/.env.sample create mode 100644 apps/medama/latest/data.yml create mode 100644 apps/medama/latest/docker-compose.yml create mode 100644 apps/medama/latest/scripts/uninstall.sh create mode 100644 apps/medama/logo.png diff --git a/apps/medama/0.4.4/.env.sample b/apps/medama/0.4.4/.env.sample new file mode 100644 index 00000000..914c75be --- /dev/null +++ b/apps/medama/0.4.4/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="medama" +PANEL_APP_PORT_HTTP=40282 diff --git a/apps/medama/0.4.4/data.yml b/apps/medama/0.4.4/data.yml new file mode 100644 index 00000000..fa35002b --- /dev/null +++ b/apps/medama/0.4.4/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: "40282" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/medama/0.4.4/docker-compose.yml b/apps/medama/0.4.4/docker-compose.yml new file mode 100644 index 00000000..5e0f00ae --- /dev/null +++ b/apps/medama/0.4.4/docker-compose.yml @@ -0,0 +1,21 @@ +services: + medama: + image: "ghcr.io/medama-io/medama:v0.4.4" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - medama-data:/app/data + labels: + createdBy: "Apps" + +volumes: + medama-data: + name: medama-data + +networks: + 1panel-network: + external: true diff --git a/apps/medama/0.4.4/scripts/uninstall.sh b/apps/medama/0.4.4/scripts/uninstall.sh new file mode 100644 index 00000000..1a62d5e5 --- /dev/null +++ b/apps/medama/0.4.4/scripts/uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose down --volumes \ No newline at end of file diff --git a/apps/medama/README.md b/apps/medama/README.md new file mode 100644 index 00000000..dfe9bf9d --- /dev/null +++ b/apps/medama/README.md @@ -0,0 +1,27 @@ +

+ + + + Medama: Cookie-free privacy-focused website analytics. + +
+ Website | + Installation | + Demo | + Discord +

+ +## Overview + +Medama Analytics 是一个开源项目,致力于提供可自托管的无 Cookie 网站分析。它拥有不到 1KB 的轻量级追踪器,旨在提供有用的分析数据,同时优先考虑用户隐私。 + + +## 使用说明 + +- 账户密码 +``` +username: admin +password: CHANGE_ME_ON_FIRST_LOGIN +``` + +- 需要域名反向代理并开启`https`访问才能登录。 \ No newline at end of file diff --git a/apps/medama/data.yml b/apps/medama/data.yml new file mode 100644 index 00000000..47c942f8 --- /dev/null +++ b/apps/medama/data.yml @@ -0,0 +1,19 @@ +name: Medama +tags: + - 实用工具 +title: 自托管、注重隐私的网站分析 +description: 自托管、注重隐私的网站分析 +additionalProperties: + key: medama + name: Medama + tags: + - Tool + shortDescZh: 自托管、注重隐私的网站分析 + shortDescEn: Self-hostable, privacy-focused website analytics + type: tool + crossVersionUpdate: true + limit: 1 + recommend: 0 + website: https://oss.medama.io + github: https://github.com/medama-io/medama + document: https://oss.medama.io diff --git a/apps/medama/latest/.env.sample b/apps/medama/latest/.env.sample new file mode 100644 index 00000000..914c75be --- /dev/null +++ b/apps/medama/latest/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="medama" +PANEL_APP_PORT_HTTP=40282 diff --git a/apps/medama/latest/data.yml b/apps/medama/latest/data.yml new file mode 100644 index 00000000..fa35002b --- /dev/null +++ b/apps/medama/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: "40282" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/medama/latest/docker-compose.yml b/apps/medama/latest/docker-compose.yml new file mode 100644 index 00000000..e52d654a --- /dev/null +++ b/apps/medama/latest/docker-compose.yml @@ -0,0 +1,21 @@ +services: + medama: + image: "ghcr.io/medama-io/medama:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - medama-data:/app/data + labels: + createdBy: "Apps" + +volumes: + medama-data: + name: medama-data + +networks: + 1panel-network: + external: true diff --git a/apps/medama/latest/scripts/uninstall.sh b/apps/medama/latest/scripts/uninstall.sh new file mode 100644 index 00000000..1a62d5e5 --- /dev/null +++ b/apps/medama/latest/scripts/uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose down --volumes \ No newline at end of file diff --git a/apps/medama/logo.png b/apps/medama/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..3602927d85be02df9e931ce970b15f7e04e24999 GIT binary patch literal 1987 zcmd5-`8%757LKixL5dNKwv$_PnY z5~_kyd&!g;2Gzlb)KaOXxB5+Osf<=@xtaS{+~+yxJ?{_adCxh|`QfGeco7hahZJEj z7=q~TLXy_ze-bVyMMd>3DZ+mC`QG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