Qinglong Panel
安装
基于docker进行安装
bash
docker run -dit \
-v $PWD/ql/config:/ql/config \
-v $PWD/ql/log:/ql/log \
-v $PWD/ql/db:/ql/db \
-p 5700:5700 \
--name qinglong \
--hostname qinglong \
--restart always \
whyour/qinglong:latest
执行命令后,在浏览器访问ip:5700
初始化环境
进入容器
bash
docker exec -it qinglong bash
安装依赖命令
bash
curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shufflewzc/QLDependency/main/Shell/QLOneKeyDependency.sh | sh
添加依赖
在页面点击 依赖管理
的右上角添加依赖
. 对以下分类进行添加
nodeJs
bash
crypto-js
使用
添加定时任务
bash
# 定时 秒 分 时 天 月 周
0 0 12 * * ?
# 命令
ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils|ZooFaker_Necklace.js|JDJRValidator_Pure|sign_graphics_validate" "main"
ql repo https://github.com/KingRan/KR.git "jd_|jx_|jdCookie" "activity|backUp" "^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR"
添加环境变量
chrome browser go to https://m.jd.com
get cookies: xx_key
and xx_pin
, go to the dashboard add envirment JD_COOKIE
, value is xx_key=xxx;xx_pin=xxx
配置消息通知
在配置文件中的config.sh文件中填写对应的通知类型
参考
https://github.com/zhangguanzhang/docker-compose/tree/master/qinglong