前言
备份
一、青龙安装
青龙安装
docker run -dit \
--name QL \
--hostname QL \
--restart always \
-p 5700:5700 \
-p 5701:5701 \
-p 5000:5000 \
-v $PWD/QL/config:/ql/config \
-v $PWD/QL/log:/ql/log \
-v $PWD/QL/db:/ql/db \
-v $PWD/QL/scripts:/ql/scripts \
-v $PWD/QL/jbot:/ql/jbot \
-v $PWD/QL/ninja:/ql/ninja \
-v $PWD/QL/pilipili:/ql/pilipili \
-v $PWD/QL/xdd:/ql/xdd \
whyour/qinglong:latest
二、使用步骤
1.依赖
docker exec -it QL bash -c "npm install -g typescript"
docker exec -it QL bash -c "npm install axios date-fns"
docker exec -it QL bash -c "npm install crypto -g"
docker exec -it QL bash -c "npm install jsdom"
docker exec -it QL bash -c "npm install png-js"
docker exec -it QL bash -c "npm install -g npm"
docker exec -it QL bash -c "pnpm i png-js"
docker exec -it QL bash -c "pip3 install requests"
docker exec -it QL bash -c "apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev && cd scripts && npm install canvas --build-from-source"
docker exec -it QL bash -c "apk add python3 zlib-dev gcc jpeg-dev python3-dev musl-dev freetype-dev"
docker exec -it QL bash -c "cd /ql/scripts/ && apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev && npm i && npm i -S ts-node typescript @types/node date-fns axios png-js canvas --build-from-source"
SSH
docker exec -it QL bash -c "apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev && cd scripts && npm install canvas --build-from-source"
2.拉库
faker
ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|function|utils|ZooFaker_Necklace.js|JDJRValidator_Pure|sign_graphics_validate|ql"
tiger
ql repo https://ghproxy.com/https://github.com/zll2317463866/tiger.git "jd_|jx_|getJDCookie|.js" "activity|backUp" "^jd[^_]|USER"
gua
ql repo https://github.com/smiek2221/scripts.git "jd_|gua_" "" "ZooFaker_Necklace.js|JDJRValidator_Pure.js|sign_graphics_validate.js"
|