Files
CloudSearch/README.md

33 lines
933 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CloudSearch — 网盘搜索 + 视频解析一站式平台
## 快速部署
```bash
# 1. 解压
tar xzf cloudsearch-deploy.tar.gz
cd cloudsearch
# 2. 配置环境变量
cp .env.example .env
# 自动生成 JWT Secret
sed -i "s/change-me-to-a-random-64-char-hex-string/$(openssl rand -hex 32)/" .env
# 自动生成 Cookie 加密密钥
sed -i "s/change-me-to-a-random-key/$(openssl rand -hex 32)/" .env
# ⚠️ 务必手动修改 ADMIN_PASSWORD 和 CORS_ORIGIN
echo "⚠️ 请编辑 .env 文件,修改 ADMIN_PASSWORD 和 CORS_ORIGIN"
# 3. 一键启动
docker compose up -d
# 4. 访问
# 首页: http://服务器IP
# 管理后台: http://服务器IP/admin/login
```
## 首次使用
1. 登录管理后台 `/admin/login`(账号: admin密码: 你在 .env 中设置的)
2. 在「网盘配置」中添加夸克网盘 Cookie
3. 在「推广管理」中添加首页推广内容(可选)
4. 返回首页即可开始搜索