diff --git a/appstore/gitea/1.22.6/.env b/appstore/gitea/1.23.0/.env similarity index 100% rename from appstore/gitea/1.22.6/.env rename to appstore/gitea/1.23.0/.env diff --git a/appstore/gitea/1.22.6/config/app.example.ini b/appstore/gitea/1.23.0/config/app.example.ini similarity index 100% rename from appstore/gitea/1.22.6/config/app.example.ini rename to appstore/gitea/1.23.0/config/app.example.ini diff --git a/appstore/gitea/1.22.6/data.yml b/appstore/gitea/1.23.0/data.yml similarity index 100% rename from appstore/gitea/1.22.6/data.yml rename to appstore/gitea/1.23.0/data.yml diff --git a/appstore/gitea/1.22.6/docker-compose.yml b/appstore/gitea/1.23.0/docker-compose.yml similarity index 97% rename from appstore/gitea/1.22.6/docker-compose.yml rename to appstore/gitea/1.23.0/docker-compose.yml index 0fc9377c..58303a0d 100644 --- a/appstore/gitea/1.22.6/docker-compose.yml +++ b/appstore/gitea/1.23.0/docker-compose.yml @@ -28,7 +28,7 @@ services: - GITEA__webhook__PROXY_HOSTS=${PROXY_HOSTS} - GITEA__git.config__http.proxy=${PROXY_URL} - GITEA__git.config__https.proxy=${PROXY_URL} - image: gitea/gitea:1.22.6 + image: gitea/gitea:1.23.0 labels: createdBy: Apps networks: diff --git a/appstore/gitea/1.22.6/envs/default.env b/appstore/gitea/1.23.0/envs/default.env similarity index 100% rename from appstore/gitea/1.22.6/envs/default.env rename to appstore/gitea/1.23.0/envs/default.env diff --git a/appstore/gitea/1.22.6/envs/gitea.env b/appstore/gitea/1.23.0/envs/gitea.env similarity index 100% rename from appstore/gitea/1.22.6/envs/gitea.env rename to appstore/gitea/1.23.0/envs/gitea.env diff --git a/appstore/gitea/1.22.6/envs/global.env b/appstore/gitea/1.23.0/envs/global.env similarity index 100% rename from appstore/gitea/1.22.6/envs/global.env rename to appstore/gitea/1.23.0/envs/global.env diff --git a/appstore/gitea/1.22.6/scripts/init.sh b/appstore/gitea/1.23.0/scripts/init.sh similarity index 100% rename from appstore/gitea/1.22.6/scripts/init.sh rename to appstore/gitea/1.23.0/scripts/init.sh diff --git a/appstore/gitea/1.22.6/scripts/uninstall.sh b/appstore/gitea/1.23.0/scripts/uninstall.sh similarity index 100% rename from appstore/gitea/1.22.6/scripts/uninstall.sh rename to appstore/gitea/1.23.0/scripts/uninstall.sh diff --git a/appstore/gitea/1.22.6/scripts/upgrade.sh b/appstore/gitea/1.23.0/scripts/upgrade.sh similarity index 100% rename from appstore/gitea/1.22.6/scripts/upgrade.sh rename to appstore/gitea/1.23.0/scripts/upgrade.sh diff --git a/appstore/maxkb/1.9.0/.env b/appstore/maxkb/1.9.1/.env similarity index 100% rename from appstore/maxkb/1.9.0/.env rename to appstore/maxkb/1.9.1/.env diff --git a/appstore/maxkb/1.9.0/data.yml b/appstore/maxkb/1.9.1/data.yml similarity index 100% rename from appstore/maxkb/1.9.0/data.yml rename to appstore/maxkb/1.9.1/data.yml diff --git a/appstore/maxkb/1.9.0/docker-compose.yml b/appstore/maxkb/1.9.1/docker-compose.yml similarity index 94% rename from appstore/maxkb/1.9.0/docker-compose.yml rename to appstore/maxkb/1.9.1/docker-compose.yml index 22921073..83a33d1e 100644 --- a/appstore/maxkb/1.9.0/docker-compose.yml +++ b/appstore/maxkb/1.9.1/docker-compose.yml @@ -7,7 +7,7 @@ services: env_file: - ./envs/global.env - .env - image: 1panel/maxkb:v1.9.0 + image: 1panel/maxkb:v1.9.1 labels: createdBy: Apps networks: diff --git a/appstore/maxkb/1.9.0/envs/default.env b/appstore/maxkb/1.9.1/envs/default.env similarity index 100% rename from appstore/maxkb/1.9.0/envs/default.env rename to appstore/maxkb/1.9.1/envs/default.env diff --git a/appstore/maxkb/1.9.0/envs/global.env b/appstore/maxkb/1.9.1/envs/global.env similarity index 100% rename from appstore/maxkb/1.9.0/envs/global.env rename to appstore/maxkb/1.9.1/envs/global.env diff --git a/appstore/maxkb/1.9.0/scripts/init.sh b/appstore/maxkb/1.9.1/scripts/init.sh similarity index 100% rename from appstore/maxkb/1.9.0/scripts/init.sh rename to appstore/maxkb/1.9.1/scripts/init.sh diff --git a/appstore/maxkb/1.9.0/scripts/uninstall.sh b/appstore/maxkb/1.9.1/scripts/uninstall.sh similarity index 100% rename from appstore/maxkb/1.9.0/scripts/uninstall.sh rename to appstore/maxkb/1.9.1/scripts/uninstall.sh diff --git a/appstore/maxkb/1.9.0/scripts/upgrade.sh b/appstore/maxkb/1.9.1/scripts/upgrade.sh similarity index 100% rename from appstore/maxkb/1.9.0/scripts/upgrade.sh rename to appstore/maxkb/1.9.1/scripts/upgrade.sh diff --git a/appstore/nodebb/3.12.2/.env b/appstore/nodebb/3.12.2/.env new file mode 100644 index 00000000..0f77ff34 --- /dev/null +++ b/appstore/nodebb/3.12.2/.env @@ -0,0 +1,33 @@ +# 数据持久化路径 [必填] +NODEBB_ROOT_PATH=/home/nodebb + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=4567 + +# 管理员邮箱 [必填] +NODEBB_ADMIN_EMAIL= + +# 管理员用户名 [必填] +NODEBB_ADMIN_USERNAME= + +# 管理员密码 [必填] +NODEBB_ADMIN_PASSWORD= + +# 数据库类型 [必填] +NODEBB_DB=postgres + +# 数据库 主机地址 [必填] +NODEBB_DB_HOST=127.0.0.1 + +# 数据库 端口 [必填] +NODEBB_DB_PORT=5432 + +# 数据库 名称 [必填] +NODEBB_DB_NAME=nodebb + +# 数据库 用户名 [必填] +NODEBB_DB_USER=nodebb + +# 数据库 密码 [必填] +NODEBB_DB_PASSWORD= + diff --git a/appstore/nodebb/3.12.2/data.yml b/appstore/nodebb/3.12.2/data.yml new file mode 100644 index 00000000..a99e7454 --- /dev/null +++ b/appstore/nodebb/3.12.2/data.yml @@ -0,0 +1,91 @@ +additionalProperties: + formFields: + - default: "/home/nodebb" + edit: true + envKey: NODEBB_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 4567 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: NODEBB_ADMIN_EMAIL + labelZh: 管理员邮箱 + labelEn: Admin email + required: true + type: text + - default: "" + edit: true + envKey: NODEBB_ADMIN_USERNAME + labelZh: 管理员用户名 + labelEn: Admin username + required: true + type: text + - default: "" + edit: true + envKey: NODEBB_ADMIN_PASSWORD + labelZh: 管理员密码 + labelEn: Admin password + required: true + type: text + - default: "postgres" + edit: true + envKey: NODEBB_DB + labelZh: 数据库类型 + labelEn: Database type + required: true + type: select + values: + - label: PostgreSQL + value: "postgres" + - label: Redis + value: "redis" + - label: MongoDB + value: "mongo" + - default: "127.0.0.1" + edit: true + envKey: NODEBB_DB_HOST + labelZh: 数据库 主机地址 + labelEn: Database Host + required: true + type: text + - default: 5432 + edit: true + envKey: NODEBB_DB_PORT + labelZh: 数据库 端口 + labelEn: Database Port + required: true + rule: paramPort + type: number + - default: "nodebb" + edit: true + envKey: NODEBB_DB_NAME + labelZh: 数据库 名称 + labelEn: Database Name + required: true + rule: paramCommon + type: text + - default: "nodebb" + edit: true + envKey: NODEBB_DB_USER + labelZh: 数据库 用户名 + labelEn: Database Username + required: true + type: text + - default: "" + edit: true + envKey: NODEBB_DB_PASSWORD + labelZh: 数据库 密码 + labelEn: Database Password + random: true + required: true + rule: paramComplexity + type: password diff --git a/appstore/nodebb/3.12.2/docker-compose.yml b/appstore/nodebb/3.12.2/docker-compose.yml new file mode 100644 index 00000000..750460f3 --- /dev/null +++ b/appstore/nodebb/3.12.2/docker-compose.yml @@ -0,0 +1,25 @@ +networks: + 1panel-network: + external: true +services: + nodebb: + container_name: nodebb + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - NODEBB_PORT=4567 + - NODEBB_URL=http://127.0.0.1:4567 + image: ghcr.io/nodebb/nodebb:3.12.2 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:4567 + restart: always + volumes: + - ${NODEBB_ROOT_PATH}/build:/usr/src/app/build + - ${NODEBB_ROOT_PATH}/uploads:/usr/src/app/public/uploads + - ${NODEBB_ROOT_PATH}/config:/opt/config diff --git a/appstore/rsshub/2025-01-08/envs/default.env b/appstore/nodebb/3.12.2/envs/default.env similarity index 100% rename from appstore/rsshub/2025-01-08/envs/default.env rename to appstore/nodebb/3.12.2/envs/default.env diff --git a/appstore/rsshub/2025-01-08/envs/global.env b/appstore/nodebb/3.12.2/envs/global.env similarity index 100% rename from appstore/rsshub/2025-01-08/envs/global.env rename to appstore/nodebb/3.12.2/envs/global.env diff --git a/appstore/rsshub/2025-01-08/scripts/init.sh b/appstore/nodebb/3.12.2/scripts/init.sh similarity index 100% rename from appstore/rsshub/2025-01-08/scripts/init.sh rename to appstore/nodebb/3.12.2/scripts/init.sh diff --git a/appstore/rsshub/2025-01-08/scripts/uninstall.sh b/appstore/nodebb/3.12.2/scripts/uninstall.sh similarity index 100% rename from appstore/rsshub/2025-01-08/scripts/uninstall.sh rename to appstore/nodebb/3.12.2/scripts/uninstall.sh diff --git a/appstore/rsshub/2025-01-08/scripts/upgrade.sh b/appstore/nodebb/3.12.2/scripts/upgrade.sh similarity index 100% rename from appstore/rsshub/2025-01-08/scripts/upgrade.sh rename to appstore/nodebb/3.12.2/scripts/upgrade.sh diff --git a/appstore/nodebb/README.md b/appstore/nodebb/README.md new file mode 100644 index 00000000..3004ecb2 --- /dev/null +++ b/appstore/nodebb/README.md @@ -0,0 +1,16 @@ +# NodeBB + +一个更适合现代网络的社会平台 + +![NodeBB](https://file.lifebus.top/imgs/nodebb_cover.png) + +![](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) + +## 简介 + +《NodeBB》是一个下一代讨论平台,它利用 WebSockets 实现即时交互和实时通知。 +NodeBB 论坛自带许多现代功能,如社交网络集成和流式讨论,以及完整的 REST API 和插件框架,以实现第三方完全扩展。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/appstore/nodebb/data.yml b/appstore/nodebb/data.yml new file mode 100644 index 00000000..3e9bbeb5 --- /dev/null +++ b/appstore/nodebb/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: nodebb + name: NodeBB + tags: + - WebSite + - Local + shortDescZh: 一个更适合现代网络的社会平台 + shortDescEn: A modern forum platform better suited for the modern web + type: website + crossVersionUpdate: true + limit: 0 + website: https://nodebb.org/ + github: https://github.com/NodeBB/NodeBB/ + document: https://docs.nodebb.org/ diff --git a/appstore/nodebb/logo.png b/appstore/nodebb/logo.png new file mode 100644 index 00000000..6858ef58 Binary files /dev/null and b/appstore/nodebb/logo.png differ diff --git a/appstore/rsshub/2025-01-08/.env b/appstore/rsshub/2025-01-09/.env similarity index 100% rename from appstore/rsshub/2025-01-08/.env rename to appstore/rsshub/2025-01-09/.env diff --git a/appstore/rsshub/2025-01-08/data.yml b/appstore/rsshub/2025-01-09/data.yml similarity index 100% rename from appstore/rsshub/2025-01-08/data.yml rename to appstore/rsshub/2025-01-09/data.yml diff --git a/appstore/rsshub/2025-01-08/docker-compose.yml b/appstore/rsshub/2025-01-09/docker-compose.yml similarity index 97% rename from appstore/rsshub/2025-01-08/docker-compose.yml rename to appstore/rsshub/2025-01-09/docker-compose.yml index c11f1a1e..36fd3792 100644 --- a/appstore/rsshub/2025-01-08/docker-compose.yml +++ b/appstore/rsshub/2025-01-09/docker-compose.yml @@ -57,7 +57,7 @@ services: - -f - http://localhost:1200/healthz?key=${ACCESS_KEY} timeout: 10s - image: diygod/rsshub:2025-01-08 + image: diygod/rsshub:2025-01-09 labels: createdBy: Apps networks: diff --git a/appstore/rsshub/2025-01-09/envs/default.env b/appstore/rsshub/2025-01-09/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/rsshub/2025-01-09/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/rsshub/2025-01-09/envs/global.env b/appstore/rsshub/2025-01-09/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/rsshub/2025-01-09/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/rsshub/2025-01-09/scripts/init.sh b/appstore/rsshub/2025-01-09/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/rsshub/2025-01-09/scripts/init.sh @@ -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 diff --git a/appstore/rsshub/2025-01-09/scripts/uninstall.sh b/appstore/rsshub/2025-01-09/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/rsshub/2025-01-09/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/rsshub/2025-01-09/scripts/upgrade.sh b/appstore/rsshub/2025-01-09/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/rsshub/2025-01-09/scripts/upgrade.sh @@ -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 diff --git a/appstore/weblate/5.9.2.1/.env b/appstore/weblate/5.9.2.1/.env new file mode 100644 index 00000000..c0d72e58 --- /dev/null +++ b/appstore/weblate/5.9.2.1/.env @@ -0,0 +1,87 @@ +# Postgres 服务 (前置检查) [必填] +PANEL_POSTGRES_TYPE=postgresql + +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# 数据持久化路径 [必填] +WEBLATE_ROOT_PATH=/home/weblate + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + +# 管理员名称 [必填] +WEBLATE_ADMIN_NAME=Weblate admin + +# 管理员邮箱 [必填] +WEBLATE_ADMIN_EMAIL=weblate@example.com + +# 管理员密码 [必填] +WEBLATE_ADMIN_PASSWORD= + +# 站点域名 [必填] +WEBLATE_SITE_DOMAIN= + +# 站点标题 [必填] +WEBLATE_SITE_TITLE=Weblate 翻译平台 + +# 是否开放注册 [必填] +WEBLATE_REGISTRATION_OPEN=1 + +# 数据库 主机地址 [必填] +POSTGRES_HOST=127.0.0.1 + +# 数据库 端口 [必填] +POSTGRES_PORT=5432 + +# 数据库 名称 [必填] +POSTGRES_DB=weblate + +# 数据库 用户名 [必填] +POSTGRES_USER=weblate + +# 数据库 密码 [必填] +POSTGRES_PASSWORD= + +# Redis 主机 [必填] +REDIS_HOST=127.0.0.1 + +# Redis 端口 [必填] +REDIS_PORT=6379 + +# Redis 索引 (0-20) [必填] +REDIS_DB=0 + +# Redis 密码 +REDIS_PASSWORD= + +# 错误信息通知邮箱 [必填] +WEBLATE_SERVER_EMAIL= + +# 默认发件邮箱 [必填] +WEBLATE_DEFAULT_FROM_EMAIL= + +# 电子邮件服务器主机名 [必填] +WEBLATE_EMAIL_HOST=smtp.gmail.com + +# 电子邮件服务器端口 (465/SSL 587/TLS) [必填] +WEBLATE_EMAIL_PORT=465 + +# 电子邮件服务器用户名 [必填] +WEBLATE_EMAIL_HOST_USER= + +# 电子邮件服务器密码 [必填] +WEBLATE_EMAIL_HOST_PASSWORD= + +# 帮助文档链接 +GET_HELP_URL= + +# 服务状态链接 +STATUS_URL= + +# 法律声明链接 +LEGAL_URL= + +# 隐私政策链接 +PRIVACY_URL= + diff --git a/appstore/weblate/5.9.2.1/data.yml b/appstore/weblate/5.9.2.1/data.yml new file mode 100644 index 00000000..b4ecbde2 --- /dev/null +++ b/appstore/weblate/5.9.2.1/data.yml @@ -0,0 +1,230 @@ +additionalProperties: + formFields: + - child: + default: "" + envKey: PANEL_POSTGRES_SERVICE + required: true + type: service + default: postgresql + envKey: PANEL_POSTGRES_TYPE + labelZh: Postgres 服务 (前置检查) + labelEn: Postgres Service (Pre-check) + required: true + type: apps + values: + - label: PostgreSQL + value: postgresql + - child: + default: "" + envKey: PANEL_REDIS_SERVICE + required: true + type: service + default: redis + envKey: PANEL_REDIS_TYPE + labelZh: Redis 服务 (前置检查) + labelEn: Redis Service (Pre-check) + required: true + type: apps + values: + - label: Redis + value: redis + - default: "/home/weblate" + edit: true + envKey: WEBLATE_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "Weblate admin" + edit: true + envKey: WEBLATE_ADMIN_NAME + labelZh: 管理员名称 + labelEn: Admin name + required: true + type: text + - default: "weblate@example.com" + edit: true + envKey: WEBLATE_ADMIN_EMAIL + labelZh: 管理员邮箱 + labelEn: Admin email + required: true + type: text + - default: "" + edit: true + envKey: WEBLATE_ADMIN_PASSWORD + labelZh: 管理员密码 + labelEn: Admin password + required: true + type: password + - default: "" + edit: true + envKey: WEBLATE_SITE_DOMAIN + labelZh: 站点域名 + labelEn: Site domain + required: true + type: text + - default: "Weblate 翻译平台" + edit: true + envKey: WEBLATE_SITE_TITLE + labelZh: 站点标题 + labelEn: Site title + required: true + type: text + - default: "1" + edit: true + envKey: WEBLATE_REGISTRATION_OPEN + labelZh: 是否开放注册 + labelEn: Registration open + required: true + type: select + values: + - label: 允许注册 + value: "1" + - label: 禁止注册 + value: "0" + - default: "127.0.0.1" + edit: true + envKey: POSTGRES_HOST + labelZh: 数据库 主机地址 + labelEn: Database Host + required: true + type: text + - default: 5432 + edit: true + envKey: POSTGRES_PORT + labelZh: 数据库 端口 + labelEn: Database Port + required: true + rule: paramPort + type: number + - default: "weblate" + edit: true + envKey: POSTGRES_DB + labelZh: 数据库 名称 + labelEn: Database Name + required: true + rule: paramCommon + type: text + - default: "weblate" + edit: true + envKey: POSTGRES_USER + labelZh: 数据库 用户名 + labelEn: Database Username + required: true + type: text + - default: "" + edit: true + envKey: POSTGRES_PASSWORD + labelZh: 数据库 密码 + labelEn: Database Password + random: true + required: true + rule: paramComplexity + type: password + - default: "127.0.0.1" + edit: true + envKey: REDIS_HOST + labelZh: Redis 主机 + labelEn: Redis Host + required: true + type: text + - default: 6379 + edit: true + envKey: REDIS_PORT + labelZh: Redis 端口 + labelEn: Redis Port + required: true + rule: paramPort + type: number + - default: 0 + edit: true + envKey: REDIS_DB + labelZh: Redis 索引 (0-20) + labelEn: Redis Index (0-20) + required: true + type: number + - default: "" + edit: true + envKey: REDIS_PASSWORD + labelZh: Redis 密码 + labelEn: Redis Password + required: false + type: password + - default: "" + edit: true + envKey: WEBLATE_SERVER_EMAIL + labelZh: 错误信息通知邮箱 + labelEn: Error notification email + required: true + type: text + - default: "" + edit: true + envKey: WEBLATE_DEFAULT_FROM_EMAIL + labelZh: 默认发件邮箱 + labelEn: Default sender email + required: true + type: text + - default: "smtp.gmail.com" + edit: true + envKey: WEBLATE_EMAIL_HOST + labelZh: 电子邮件服务器主机名 + labelEn: Email server hostname + required: true + type: text + - default: 465 + edit: true + envKey: WEBLATE_EMAIL_PORT + labelZh: 电子邮件服务器端口 (465/SSL 587/TLS) + labelEn: Email server port (465/SSL 587/TLS) + required: true + type: number + - default: "" + edit: true + envKey: WEBLATE_EMAIL_HOST_USER + labelZh: 电子邮件服务器用户名 + labelEn: Email server username + required: true + type: text + - default: "" + edit: true + envKey: WEBLATE_EMAIL_HOST_PASSWORD + labelZh: 电子邮件服务器密码 + labelEn: Email server password + required: true + type: password + - default: "" + edit: true + envKey: GET_HELP_URL + labelZh: 帮助文档链接 + labelEn: Help document link + required: false + type: text + - default: "" + edit: true + envKey: STATUS_URL + labelZh: 服务状态链接 + labelEn: Service status link + required: false + type: text + - default: "" + edit: true + envKey: LEGAL_URL + labelZh: 法律声明链接 + labelEn: Legal statement link + required: false + type: text + - default: "" + edit: true + envKey: PRIVACY_URL + labelZh: 隐私政策链接 + labelEn: Privacy policy link + required: false + type: text diff --git a/appstore/weblate/5.9.2.1/docker-compose.yml b/appstore/weblate/5.9.2.1/docker-compose.yml new file mode 100644 index 00000000..c2d19e4b --- /dev/null +++ b/appstore/weblate/5.9.2.1/docker-compose.yml @@ -0,0 +1,33 @@ +networks: + 1panel-network: + external: true +services: + weblate: + container_name: weblate + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - WEBLATE_TIME_ZONE=Asia/Shanghai + - WEBLATE_WORKERS=2 + - WEBLATE_DEBUG=0 + - WEBLATE_LOGLEVEL=INFO + - WEBLATE_ALLOWED_HOSTS=* + - POSTGRES_DATABASE=weblate + - CLIENT_MAX_BODY_SIZE=200M + image: weblate/weblate:5.9.2.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8080 + read_only: true + restart: always + tmpfs: + - /run + - /tmp + volumes: + - ${WEBLATE_ROOT_PATH}/data:/app/data + - ${WEBLATE_ROOT_PATH}/cache:/app/cache diff --git a/appstore/weblate/5.9.2.1/envs/default.env b/appstore/weblate/5.9.2.1/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/weblate/5.9.2.1/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/weblate/5.9.2.1/envs/global.env b/appstore/weblate/5.9.2.1/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/weblate/5.9.2.1/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/weblate/5.9.2.1/scripts/init.sh b/appstore/weblate/5.9.2.1/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/weblate/5.9.2.1/scripts/init.sh @@ -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 diff --git a/appstore/weblate/5.9.2.1/scripts/uninstall.sh b/appstore/weblate/5.9.2.1/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/weblate/5.9.2.1/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/weblate/5.9.2.1/scripts/upgrade.sh b/appstore/weblate/5.9.2.1/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/weblate/5.9.2.1/scripts/upgrade.sh @@ -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 diff --git a/appstore/weblate/README.md b/appstore/weblate/README.md new file mode 100644 index 00000000..354e5565 --- /dev/null +++ b/appstore/weblate/README.md @@ -0,0 +1,60 @@ +# Weblate + +高度集成了版本控制功能的web-based翻译工具 + +![Weblate](https://file.lifebus.top/imgs/weblate_cover.png) + +作为一款功能强大的计算机辅助翻译工具,Weblate 节省了开发者和译者的时间。让您的用户更快乐! + +![](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) + +## 硬件说明 + +> 推荐的最小内存为 4 GB + ++ 3 GB 的内存 ++ 2 个 CPU 核心 ++ 1 GB 的存储空间 + +## 特性 + ++ 持续本地化 + +自动本地化工作流能紧密贴合您的项目开发。 + ++ 质量检查 + +可定制的质量检查有助于提高翻译质量。 + ++ 署名 + +所有译者的贡献信息都会妥善记录在版本控制系统中。 + ++ 访问控制 + +调整访问权限以适应您的环境。 + ++ 通知 + +译者能收到有新条目需要翻译或其他事件发生的通知。 + ++ 集成 API + +将 Weblate 与第三方服务集成。 + ++ 多种文件格式 + +使用任何常见的文件本地化格式,如 gettext、JSON、XLIFF 或资源字符串等。 + ++ 分支支持 + +通过自动将它们推到不同的分支来处理不同的翻译版本。 + ++ 翻译上下文 + +描述、附近字符串、图片、相关源代码和术语表条目 — 每条字符串均可拥有。 + + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/appstore/weblate/data.yml b/appstore/weblate/data.yml new file mode 100644 index 00000000..19097b48 --- /dev/null +++ b/appstore/weblate/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: weblate + name: Weblate + tags: + - WebSite + - Local + shortDescZh: 高度集成了版本控制功能的web-based翻译工具 + shortDescEn: A highly integrated web-based translation tool with version control functions + type: website + crossVersionUpdate: true + limit: 0 + website: https://weblate.org/ + github: https://github.com/WeblateOrg/weblate/ + document: https://docs.weblate.org/ diff --git a/appstore/weblate/logo.png b/appstore/weblate/logo.png new file mode 100644 index 00000000..b11b4b50 Binary files /dev/null and b/appstore/weblate/logo.png differ diff --git a/dockge/gitea/docker-compose.yml b/dockge/gitea/docker-compose.yml index 0fc9377c..58303a0d 100644 --- a/dockge/gitea/docker-compose.yml +++ b/dockge/gitea/docker-compose.yml @@ -28,7 +28,7 @@ services: - GITEA__webhook__PROXY_HOSTS=${PROXY_HOSTS} - GITEA__git.config__http.proxy=${PROXY_URL} - GITEA__git.config__https.proxy=${PROXY_URL} - image: gitea/gitea:1.22.6 + image: gitea/gitea:1.23.0 labels: createdBy: Apps networks: diff --git a/dockge/maxkb/docker-compose.yml b/dockge/maxkb/docker-compose.yml index 22921073..83a33d1e 100644 --- a/dockge/maxkb/docker-compose.yml +++ b/dockge/maxkb/docker-compose.yml @@ -7,7 +7,7 @@ services: env_file: - ./envs/global.env - .env - image: 1panel/maxkb:v1.9.0 + image: 1panel/maxkb:v1.9.1 labels: createdBy: Apps networks: diff --git a/dockge/nodebb/.env b/dockge/nodebb/.env new file mode 100644 index 00000000..0f77ff34 --- /dev/null +++ b/dockge/nodebb/.env @@ -0,0 +1,33 @@ +# 数据持久化路径 [必填] +NODEBB_ROOT_PATH=/home/nodebb + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=4567 + +# 管理员邮箱 [必填] +NODEBB_ADMIN_EMAIL= + +# 管理员用户名 [必填] +NODEBB_ADMIN_USERNAME= + +# 管理员密码 [必填] +NODEBB_ADMIN_PASSWORD= + +# 数据库类型 [必填] +NODEBB_DB=postgres + +# 数据库 主机地址 [必填] +NODEBB_DB_HOST=127.0.0.1 + +# 数据库 端口 [必填] +NODEBB_DB_PORT=5432 + +# 数据库 名称 [必填] +NODEBB_DB_NAME=nodebb + +# 数据库 用户名 [必填] +NODEBB_DB_USER=nodebb + +# 数据库 密码 [必填] +NODEBB_DB_PASSWORD= + diff --git a/dockge/nodebb/docker-compose.yml b/dockge/nodebb/docker-compose.yml new file mode 100644 index 00000000..750460f3 --- /dev/null +++ b/dockge/nodebb/docker-compose.yml @@ -0,0 +1,25 @@ +networks: + 1panel-network: + external: true +services: + nodebb: + container_name: nodebb + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - NODEBB_PORT=4567 + - NODEBB_URL=http://127.0.0.1:4567 + image: ghcr.io/nodebb/nodebb:3.12.2 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:4567 + restart: always + volumes: + - ${NODEBB_ROOT_PATH}/build:/usr/src/app/build + - ${NODEBB_ROOT_PATH}/uploads:/usr/src/app/public/uploads + - ${NODEBB_ROOT_PATH}/config:/opt/config diff --git a/dockge/nodebb/envs/default.env b/dockge/nodebb/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/nodebb/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/nodebb/envs/global.env b/dockge/nodebb/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/nodebb/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/rsshub/docker-compose.yml b/dockge/rsshub/docker-compose.yml index c11f1a1e..36fd3792 100644 --- a/dockge/rsshub/docker-compose.yml +++ b/dockge/rsshub/docker-compose.yml @@ -57,7 +57,7 @@ services: - -f - http://localhost:1200/healthz?key=${ACCESS_KEY} timeout: 10s - image: diygod/rsshub:2025-01-08 + image: diygod/rsshub:2025-01-09 labels: createdBy: Apps networks: diff --git a/dockge/weblate/.env b/dockge/weblate/.env new file mode 100644 index 00000000..c0d72e58 --- /dev/null +++ b/dockge/weblate/.env @@ -0,0 +1,87 @@ +# Postgres 服务 (前置检查) [必填] +PANEL_POSTGRES_TYPE=postgresql + +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# 数据持久化路径 [必填] +WEBLATE_ROOT_PATH=/home/weblate + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + +# 管理员名称 [必填] +WEBLATE_ADMIN_NAME=Weblate admin + +# 管理员邮箱 [必填] +WEBLATE_ADMIN_EMAIL=weblate@example.com + +# 管理员密码 [必填] +WEBLATE_ADMIN_PASSWORD= + +# 站点域名 [必填] +WEBLATE_SITE_DOMAIN= + +# 站点标题 [必填] +WEBLATE_SITE_TITLE=Weblate 翻译平台 + +# 是否开放注册 [必填] +WEBLATE_REGISTRATION_OPEN=1 + +# 数据库 主机地址 [必填] +POSTGRES_HOST=127.0.0.1 + +# 数据库 端口 [必填] +POSTGRES_PORT=5432 + +# 数据库 名称 [必填] +POSTGRES_DB=weblate + +# 数据库 用户名 [必填] +POSTGRES_USER=weblate + +# 数据库 密码 [必填] +POSTGRES_PASSWORD= + +# Redis 主机 [必填] +REDIS_HOST=127.0.0.1 + +# Redis 端口 [必填] +REDIS_PORT=6379 + +# Redis 索引 (0-20) [必填] +REDIS_DB=0 + +# Redis 密码 +REDIS_PASSWORD= + +# 错误信息通知邮箱 [必填] +WEBLATE_SERVER_EMAIL= + +# 默认发件邮箱 [必填] +WEBLATE_DEFAULT_FROM_EMAIL= + +# 电子邮件服务器主机名 [必填] +WEBLATE_EMAIL_HOST=smtp.gmail.com + +# 电子邮件服务器端口 (465/SSL 587/TLS) [必填] +WEBLATE_EMAIL_PORT=465 + +# 电子邮件服务器用户名 [必填] +WEBLATE_EMAIL_HOST_USER= + +# 电子邮件服务器密码 [必填] +WEBLATE_EMAIL_HOST_PASSWORD= + +# 帮助文档链接 +GET_HELP_URL= + +# 服务状态链接 +STATUS_URL= + +# 法律声明链接 +LEGAL_URL= + +# 隐私政策链接 +PRIVACY_URL= + diff --git a/dockge/weblate/docker-compose.yml b/dockge/weblate/docker-compose.yml new file mode 100644 index 00000000..c2d19e4b --- /dev/null +++ b/dockge/weblate/docker-compose.yml @@ -0,0 +1,33 @@ +networks: + 1panel-network: + external: true +services: + weblate: + container_name: weblate + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - WEBLATE_TIME_ZONE=Asia/Shanghai + - WEBLATE_WORKERS=2 + - WEBLATE_DEBUG=0 + - WEBLATE_LOGLEVEL=INFO + - WEBLATE_ALLOWED_HOSTS=* + - POSTGRES_DATABASE=weblate + - CLIENT_MAX_BODY_SIZE=200M + image: weblate/weblate:5.9.2.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8080 + read_only: true + restart: always + tmpfs: + - /run + - /tmp + volumes: + - ${WEBLATE_ROOT_PATH}/data:/app/data + - ${WEBLATE_ROOT_PATH}/cache:/app/cache diff --git a/dockge/weblate/envs/default.env b/dockge/weblate/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/weblate/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/weblate/envs/global.env b/dockge/weblate/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/weblate/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai