教程都是网上收集的,仅用于自己记录,如有违规请联系删除。
首先,安装Docker:
sudo yum check-update
curl -sSL https://get.daocloud.io/docker | sh
sudo systemctl start docker
sudo systemctl status docker
sudo systemctl enable docker
安装docker-compose:
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
二、部署ql镜像:
docker run -dit \
-v /root/qinglong/ql/config:/ql/config \
-v /root/qinglong/ql/log:/ql/log \
-v /root/qinglong/ql/db:/ql/db \
-v /root/qinglong/ql/repo:/ql/repo \
-v /root/qinglong/ql/raw:/ql/raw \
-v /root/qinglong/ql/scripts:/ql/scripts \
-v /root/qinglong/ql/jbot:/ql/jbot \
-p 5700:5700 \
--name qinglong \
--hostname qinglong \
--restart unless-stopped \
whyour/qinglong:latest
三、拉取仓库:
docker exec -it qinglong
+下面的指令 如图:
chiupam仓库(京喜工厂瓜分电力开团ID) ql repo https://github.com/chiupam/JD_Diy.git "activeId" 1 1-23/4 * * *
柠檬(胖虎)仓库 ql repo https://github.com/panghu999/panghu.git "jd_" 3 1-23/4 * * *
Ariszy(Zhiyi-N)仓库 ql repo https://github.com/Ariszy/Private-Script.git "JD" 5 1-23/4 * * *
jiulan仓库 ql repo https://github.com/jiulan/platypus.git "jd_|jx_" "" "overdue" "main" 7 1-23/4 * * *
passerby-b仓库 ql repo https://github.com/passerby-b/JDDJ.git "jddj_" "_cookie|_getck" "^jd[^_]" 9 1-23/4 * * *
curtinlv仓库 ql repo https://github.com/curtinlv/JD-Script.git "jd_" 13 1-23/4 * * *
cdle仓库 ql repo https://github.com/cdle/xdd.git "jd_" "disposable|expired|jdc" 15 1-23/4 * * *
smiek2221(青蛙)仓库 ql repo https://github.com/smiek2221/scripts.git "jd_|gua_" "" "^MovementFaker|^JDJRValidator|^ZooFaker|^sign" 17 1-23/4 * * *
star261仓库 ql repo https://github.com/star261/jd.git "jd_|star_" "" "code" "main" 19 1-23/4 * * *
温某人仓库 ql repo https://github.com/Wenmoux/scripts.git "other|jd" "" "" "wen" 21 1-23/4 * * *
he1pu仓库 ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "Coupon|update" "^jd[^_]|USER|^sign|^ZooFaker|utils" 23 1-23/4 * * *
shufflewzc仓库 ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp|Coupon|update" "^jd[^_]|USER|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign" 25 1-23/4 * * *
JDHelloWorld仓库 ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|enen|update|test" "^jd[^_]|USER|^TS|utils|notify|env|package|ken.js" 27 1-23/4 * * *
NobyDa仓库(拉取京东签到基础脚本JD_DailyBonus.js专用) ql repo https://github.com/NobyDa/Script.git "JD-DailyBonus" "" "JD_DailyBonus" "master" 29 1-23/4 * * *
Tsukasa007仓库 ql repo https://github.com/Tsukasa007/my_script.git "jd_|jx_" "jdCookie|USER_AGENTS|sendNotify|backup" "" "master" 31 1-23/4 * * *
Aaron-lv仓库 ql repo https://github.com/Aaron-lv/sync.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon" "^jd[^_]|USER|utils" "jd_scripts" 33 1-23/4 * * *
四、总结:
1、面板的登录地址为:ip:5700
。
2、点击面板主页-环境变量-添加变量,变量名称为JD_COOKIE
,值为京东Cookie数据。
3、cookie格式为:pt_key=xxxx; pt_pin=xxxx;
。
怎么添加第二个京东账号呢,添加第二个变量吗?
pt_key=AAA;pt_pin=BBB;&pt_key=CCC;pt_pin=DDD;&pt_key=EEE;pt_pin=FFF;
参考这个
自己试了下添加第二个变量JD_COOKIE也可以,不知道和你说的有没有区别