发布应用 CloudSaver
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
f569a49c84
commit
ce63ac135e
|
|
@ -0,0 +1,8 @@
|
||||||
|
# JWT配置
|
||||||
|
JWT_SECRET=${JWT_SECRET}
|
||||||
|
|
||||||
|
# Telegram配置
|
||||||
|
TELEGRAM_BASE_URL=https://t.me/s
|
||||||
|
|
||||||
|
# Telegram频道配置
|
||||||
|
TELE_CHANNELS=[]
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/home/cloudsaver"
|
||||||
|
edit: true
|
||||||
|
envKey: CLOUDSAVER_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8008
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: JWT_SECRET
|
||||||
|
labelZh: JWT 密钥
|
||||||
|
labelEn: JWT secret
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
cloudsaver:
|
||||||
|
image: jiangrui1994/cloudsaver:v0.6.0
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8008
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${CLOUDSAVER_ROOT_PATH}/data:/app/data
|
||||||
|
- ${CLOUDSAVER_ROOT_PATH}/config:/app/config
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
healthcheck:
|
||||||
|
test: >
|
||||||
|
CMD-SHELL curl -s -o /dev/null -w "%{http_code}" http://localhost:8008/health | grep -E "^(200|204|301|302|304)$" || exit 1
|
||||||
|
interval: 30s
|
||||||
|
timeout: 3s
|
||||||
|
start_period: 5s
|
||||||
|
retries: 3
|
||||||
|
|
@ -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,25 @@
|
||||||
|
#!/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
|
||||||
|
|
||||||
|
# setup-2 copy env file
|
||||||
|
CONFIG_DIR="$CLOUDSAVER_ROOT_PATH/config"
|
||||||
|
mkdir -p "$CONFIG_DIR"
|
||||||
|
|
||||||
|
CONFIG_FILE="$CONFIG_DIR/env"
|
||||||
|
cp ./config/env.example $CONFIG_FILE
|
||||||
|
sed -i "s/JWT_SECRET=.*/JWT_SECRET=$JWT_SECRET/" $CONFIG_FILE
|
||||||
|
|
||||||
|
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
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
# CloudSaver
|
||||||
|
|
||||||
|
网盘资源搜索与转存工具,支持响应式布局,移动端与PC完美适配。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 功能特性
|
||||||
|
|
||||||
|
### 🔍 多源资源搜索
|
||||||
|
|
||||||
|
+ 支持多个资源订阅源搜索
|
||||||
|
+ 支持关键词搜索与资源链接解析
|
||||||
|
+ 支持豆瓣热门榜单展示
|
||||||
|
|
||||||
|
### 💾 网盘资源转存
|
||||||
|
|
||||||
|
+ 支持115 网盘,夸克网盘,天翼网盘,123云盘一键转存
|
||||||
|
+ 支持转存文件夹展示与选择
|
||||||
|
|
||||||
|
### 👥 多用户系统
|
||||||
|
|
||||||
|
+ 支持用户注册登录
|
||||||
|
+ 支持管理员与普通用户权限区分
|
||||||
|
|
||||||
|
### 📱 响应式设计
|
||||||
|
|
||||||
|
+ 支持 PC 端与移动端自适应布局
|
||||||
|
+ 针对不同设备优化的交互体验
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
additionalProperties:
|
||||||
|
key: cloudsaver
|
||||||
|
name: CloudSaver
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Local
|
||||||
|
shortDescZh: 网盘资源搜索与转存工具
|
||||||
|
shortDescEn: Network disk resource search and transfer tool
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://github.com/jiangrui1994/CloudSaver/
|
||||||
|
github: https://github.com/jiangrui1994/CloudSaver/
|
||||||
|
document: https://github.com/jiangrui1994/CloudSaver/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 248 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 282 KiB |
Loading…
Reference in New Issue