diff --git a/appstore/suwayomi-server/2.1.2087/.env b/appstore/suwayomi-server/2.1.2087/.env new file mode 100644 index 000000000..4bf5df009 --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/.env @@ -0,0 +1,15 @@ +# 数据持久化路径 [必填] +SUWAYOMI_SERVER_ROOT_PATH=/home/suwayomi-server + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=4567 + +# 认证模式 [必填] +AUTH_MODE=none + +# 管理员用户名 +AUTH_USERNAME= + +# 管理员密码 +AUTH_PASSWORD= + diff --git a/appstore/suwayomi-server/2.1.2087/data.yml b/appstore/suwayomi-server/2.1.2087/data.yml new file mode 100644 index 000000000..5ce2eb342 --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/data.yml @@ -0,0 +1,47 @@ +additionalProperties: + formFields: + - default: "/home/suwayomi-server" + edit: true + envKey: SUWAYOMI_SERVER_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: "none" + edit: true + envKey: AUTH_MODE + labelZh: 认证模式 + labelEn: Auth Mode + required: true + type: select + values: + - label: 关闭认证 + value: "none" + - label: 基本身份验证 + value: "basic_auth" + - label: Cookie登录 + value: "simple_login" + - label: Jwt登录 + value: "ui_login" + - default: "" + edit: true + envKey: AUTH_USERNAME + labelZh: 管理员用户名 + labelEn: Auth Username + required: false + type: text + - default: "" + edit: true + envKey: AUTH_PASSWORD + labelZh: 管理员密码 + labelEn: Auth Password + required: false + type: password diff --git a/appstore/suwayomi-server/2.1.2087/docker-compose.yml b/appstore/suwayomi-server/2.1.2087/docker-compose.yml new file mode 100644 index 000000000..6b40fbf62 --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/docker-compose.yml @@ -0,0 +1,21 @@ +networks: + 1panel-network: + external: true +services: + suwayomi-server: + container_name: suwayomi-server + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + image: ghcr.io/suwayomi/suwayomi-server:v2.1.2087 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:4567 + restart: always + volumes: + - ${SUWAYOMI_SERVER_ROOT_PATH}/data:/home/suwayomi/.local/share/Tachidesk diff --git a/appstore/suwayomi-server/2.1.2087/envs/default.env b/appstore/suwayomi-server/2.1.2087/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/suwayomi-server/2.1.2087/envs/global.env b/appstore/suwayomi-server/2.1.2087/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/suwayomi-server/2.1.2087/scripts/init.sh b/appstore/suwayomi-server/2.1.2087/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/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/suwayomi-server/2.1.2087/scripts/uninstall.sh b/appstore/suwayomi-server/2.1.2087/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/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/suwayomi-server/2.1.2087/scripts/upgrade.sh b/appstore/suwayomi-server/2.1.2087/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/suwayomi-server/2.1.2087/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/suwayomi-server/README.md b/appstore/suwayomi-server/README.md new file mode 100644 index 000000000..5f906150b --- /dev/null +++ b/appstore/suwayomi-server/README.md @@ -0,0 +1,20 @@ +# Suwayomi Server + +漫画阅读器服务器 + +![Suwayomi Server](https://file.lifebus.top/imgs/suwayomi-server_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) + +## 简介 + +一个免费开源的漫画阅读器服务器,运行为 Mihon(Tachiyomi) 构建的扩展程序。 + +Suwayomi 是一个独立的 Mihon (Tachiyomi) 兼容软件,而不是 Mihon (Tachiyomi) 的 Fork 。 + +Suwayomi-Server 是一款真正意义上的多平台应用。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) +![Ms Studio](https://analytics.lifebus.top/p/wJix5nI1W) diff --git a/appstore/suwayomi-server/data.yml b/appstore/suwayomi-server/data.yml new file mode 100644 index 000000000..731a98e6e --- /dev/null +++ b/appstore/suwayomi-server/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + key: suwayomi-server + name: Suwayomi Server + tags: + - WebSite + - Local + shortDescZh: 漫画阅读器服务器 + shortDescEn: Comic Reader Server + type: website + crossVersionUpdate: true + limit: 0 + website: https://github.com/Suwayomi/Suwayomi-Server/ + github: https://github.com/Suwayomi/Suwayomi-Server/ + document: https://github.com/Suwayomi/Suwayomi-Server/ + architectures: + - amd64 + - arm64 diff --git a/appstore/suwayomi-server/logo.png b/appstore/suwayomi-server/logo.png new file mode 100644 index 000000000..167878f2d Binary files /dev/null and b/appstore/suwayomi-server/logo.png differ diff --git a/dockge/suwayomi-server/.env b/dockge/suwayomi-server/.env new file mode 100644 index 000000000..4bf5df009 --- /dev/null +++ b/dockge/suwayomi-server/.env @@ -0,0 +1,15 @@ +# 数据持久化路径 [必填] +SUWAYOMI_SERVER_ROOT_PATH=/home/suwayomi-server + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=4567 + +# 认证模式 [必填] +AUTH_MODE=none + +# 管理员用户名 +AUTH_USERNAME= + +# 管理员密码 +AUTH_PASSWORD= + diff --git a/dockge/suwayomi-server/docker-compose.yml b/dockge/suwayomi-server/docker-compose.yml new file mode 100644 index 000000000..6b40fbf62 --- /dev/null +++ b/dockge/suwayomi-server/docker-compose.yml @@ -0,0 +1,21 @@ +networks: + 1panel-network: + external: true +services: + suwayomi-server: + container_name: suwayomi-server + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + image: ghcr.io/suwayomi/suwayomi-server:v2.1.2087 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:4567 + restart: always + volumes: + - ${SUWAYOMI_SERVER_ROOT_PATH}/data:/home/suwayomi/.local/share/Tachidesk diff --git a/dockge/suwayomi-server/envs/default.env b/dockge/suwayomi-server/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/suwayomi-server/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/suwayomi-server/envs/global.env b/dockge/suwayomi-server/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/suwayomi-server/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai