Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-04 03:08:24 +00:00
parent c472f6b912
commit e8d6cc738d
1394 changed files with 42558 additions and 0 deletions
+78
View File
@@ -0,0 +1,78 @@
# 数据库 服务 (前置检查) [必填]
PANEL_DB_TYPE=postgresql
# 数据持久化 根路径 [必填]
SPEEDTEST_TRACKER_ROOT_PATH=/home/speedtest-tracker
# 网络模式 [必填]
NETWORK_MODE=host
# Web 服务端口 [必填]
PANEL_APP_PORT_HTTP=8080
# 应用密钥 (官网获取) [必填]
APP_KEY=base64:f0Ivk1nHd3QwXtR55WKC4fcc7QjrxxTnkiB02ipdl60=
# 应用名称 [必填]
APP_NAME=SpeedTest Tracker
# 应用访问地址 [必填]
APP_URL=http://127.0.0.1:8080
# 数据库 类型 [必填]
DB_CONNECTION=postgres
# 数据库 主机地址 [必填]
DB_HOST=127.0.0.1
# 数据库 端口 [必填]
DB_PORT=5432
# 数据库 用户名 [必填]
DB_USERNAME=speedtest-tracker
# 数据库 密码 [必填]
DB_PASSWORD=
# 数据库 名称 [必填]
DB_DATABASE=speedtest-tracker
# 测试结果保留天数 [必填]
PRUNE_RESULTS_OLDER_THAN=0
# 测试计划任务
SPEEDTEST_SCHEDULE=0 */6 * * *
# 指定测试服务器
SPEEDTEST_SERVERS=
# 邮件 协议 [必填]
MAIL_MAILER=smtp
# 邮件 主机地址 [必填]
MAIL_HOST=smtp.gmail.com
# 邮件 主机端口 [必填]
MAIL_PORT=465
# 邮件 鉴权用户名
MAIL_USERNAME=
# 邮件 鉴权密码
MAIL_PASSWORD=
# 邮件 发件地址
MAIL_FROM_ADDRESS=
# 邮件 发件名称 [必填]
MAIL_FROM_NAME=Speedtest Tracker
# 邮件 加密方式 [必填]
MAIL_ENCRYPTION=tls
# Telegram 机器人令牌
TELEGRAM_BOT_TOKEN=
# 缓存 驱动 [必填]
CACHE_DRIVER=file
+221
View File
@@ -0,0 +1,221 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: postgresql
edit: true
envKey: PANEL_DB_TYPE
labelZh: 数据库 服务 (前置检查)
labelEn: Database Service (Pre-check)
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- label: MySQL
value: mysql
- label: MariaDB
value: mariadb
- label: Percona
value: percona
- default: "/home/speedtest-tracker"
edit: true
envKey: SPEEDTEST_TRACKER_ROOT_PATH
labelEn: Data persistence root path
labelZh: 数据持久化 根路径
required: true
type: text
- default: "host"
edit: true
envKey: NETWORK_MODE
labelEn: Drive path
labelZh: 网络模式
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Server port
labelZh: Web 服务端口
required: true
rule: paramPort
type: number
- default: "base64:f0Ivk1nHd3QwXtR55WKC4fcc7QjrxxTnkiB02ipdl60="
edit: true
envKey: APP_KEY
labelZh: 应用密钥 (官网获取)
labelEn: App key (Get from official website)
required: true
type: text
- default: "SpeedTest Tracker"
edit: true
envKey: APP_NAME
labelZh: 应用名称
labelEn: App Name
required: true
type: text
- default: "http://127.0.0.1:8080"
edit: true
envKey: APP_URL
labelZh: 应用访问地址
labelEn: App URL
required: true
type: text
- default: postgres
edit: true
envKey: DB_CONNECTION
labelZh: 数据库 类型
labelEn: Database Type
required: true
type: select
values:
- label: PostgreSQL
value: postgres
- label: MySQL (MariaDB, Percona)
value: mysql
- default: "127.0.0.1"
edit: true
envKey: DB_HOST
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: DB_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "speedtest-tracker"
edit: true
envKey: DB_USERNAME
labelZh: 数据库 用户名
labelEn: Database User
required: true
type: text
- default: ""
edit: true
envKey: DB_PASSWORD
labelEn: Database Password
labelZh: 数据库 密码
random: true
required: true
rule: paramComplexity
type: password
- default: "speedtest-tracker"
edit: true
envKey: DB_DATABASE
labelZh: 数据库 名称
labelEn: Database Name
required: true
type: text
- default: 0
edit: true
envKey: PRUNE_RESULTS_OLDER_THAN
labelZh: 测试结果保留天数
labelEn: Prune results older than
required: true
type: text
- default: "0 */6 * * *"
edit: true
envKey: SPEEDTEST_SCHEDULE
labelZh: 测试计划任务
labelEn: Speedtest schedule
required: false
type: text
- default: ""
edit: true
envKey: SPEEDTEST_SERVERS
labelZh: 指定测试服务器
labelEn: Specify servers
required: false
type: text
- default: "smtp"
edit: true
envKey: MAIL_MAILER
labelZh: 邮件 协议
labelEn: Mail mailer
required: true
type: text
- default: "smtp.gmail.com"
edit: true
envKey: MAIL_HOST
labelZh: 邮件 主机地址
labelEn: Mail host
required: true
type: text
- default: 465
edit: true
envKey: MAIL_PORT
labelZh: 邮件 主机端口
labelEn: Mail port
required: true
type: number
- default: ""
edit: true
envKey: MAIL_USERNAME
labelZh: 邮件 鉴权用户名
labelEn: Mail username
required: false
type: text
- default: ""
edit: true
envKey: MAIL_PASSWORD
labelZh: 邮件 鉴权密码
labelEn: Mail password
required: false
type: text
- default: ""
edit: true
envKey: MAIL_FROM_ADDRESS
labelZh: 邮件 发件地址
labelEn: Mail from address
required: false
type: text
- default: "Speedtest Tracker"
edit: true
envKey: MAIL_FROM_NAME
labelZh: 邮件 发件名称
labelEn: Mail from name
required: true
type: text
- default: "tls"
edit: true
envKey: MAIL_ENCRYPTION
labelZh: 邮件 加密方式
labelEn: Mail encryption
required: true
type: text
- default: ""
edit: true
envKey: TELEGRAM_BOT_TOKEN
labelZh: Telegram 机器人令牌
labelEn: Telegram bot token
required: false
type: text
- default: "file"
edit: true
envKey: CACHE_DRIVER
labelZh: 缓存 驱动
labelEn: Cache driver
required: true
type: select
values:
- label: 文件缓存
value: "file"
- label: 数据库缓存
value: "database"
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
speedtest-tracker:
container_name: speedtest-tracker
env_file:
- ./envs/global.env
- .env
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- DISPLAY_TIMEZONE=Asia/Shanghai
image: linuxserver/speedtest-tracker:0.24.3
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:80
restart: always
volumes:
- ${SPEEDTEST_TRACKER_ROOT_PATH}/config:/config
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+25
View File
@@ -0,0 +1,25 @@
# Speedtest Tracker
Speedtest Tracker 的主要用例是建立互联网性能的历史记录,以便您在未收到 ISP 公布的费率时收到通知。
![Speedtest Tracker](https://file.lifebus.top/imgs/speedtest_tracker_cover.png)
Speedtest Tracker 是一款自托管互联网性能跟踪应用程序,可针对 Ookla 的 Speedtest 服务运行速度测试检查。
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 应用说明
Speedtest Tracker 是一个自托管的互联网性能跟踪应用程序,可针对 Ookla 的 Speedtest 服务运行速度测试检查。
由于 Speedtest 服务主要节点位于国外,所以在国内使用时可能会有一些问题,但是在国外使用时,Speedtest Tracker 是一个非常好的选择。
## 安装说明
> admin@example.com
>
> password
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+15
View File
@@ -0,0 +1,15 @@
additionalProperties:
key: speedtest-tracker
name: SpeedTest Tracker
tags:
- WebSite
- Middleware
- Local
shortDescZh: 托管互联网性能跟踪应用程序
shortDescEn: Hosted internet performance tracking application
type: website
crossVersionUpdate: true
limit: 0
website: https://docs.speedtest-tracker.dev/
github: https://github.com/alexjustesen/speedtest-tracker
document: https://docs.speedtest-tracker.dev/
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB