-
Notifications
You must be signed in to change notification settings - Fork 140
nvjdc搭建教程
feverrun edited this page Jan 27, 2022
·
13 revisions
特别提醒只支持x86架构机器 (已废弃已废弃已废弃已废弃已废弃已废弃已废弃已废弃已废弃已废弃已废弃已废弃)
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
或
curl -sSL https://get.daocloud.io/docker | sh
1.8版本(非腾讯云,非阿里云推荐)
git clone -b 1.8 https://ghproxy.com/https://github.com/feverrun/nvjdcdocker.git /root/nvjdc
可用socks代理版本
git clone https://ghproxy.com/https://github.com/feverrun/nvjdcdocker.git /root/nvjdc
cd /root/nvjdc && mkdir -p Config && cd Config
1.8~2.0版本配置
wget -O Config.json https://ghproxy.com/https://raw.githubusercontent.com/feverrun/cdn/main/config/Config.json
2.2~2.4版本配置
wget -O Config.json https://ghproxy.com/https://raw.githubusercontent.com/feverrun/cdn/main/config/config/Config.json
{
///浏览器最多几个网页
"MaxTab": "10",
//网站标题
"Title": "京东平台",
//回收时间分钟 不填默认3分钟
"Closetime": "5",
//网站公告
"Announcement": "为提高账户的安全性,请关闭免密支付。",
///开启打印等待日志卡短信验证登陆 可开启 拿到日志群里回复 默认不要填写
"Debug": "",
///自动滑块次数5次 5次后手动滑块 可设置为0默认手动滑块
"AutoCaptchaCount": "5",
///XDD PLUS Url http://IP地址:端口/api/login/smslogin
"XDDurl": "",
///xddToken
"XDDToken": "",
///Push Plus官方网站:http": //www.pushplus.plus 只有青龙模式有用
///下方填写您的Token,微信扫码登录后一对一推送或一对多推送下面的token,只填" "PUSH_PLUS_TOKEN",
"PUSH_PLUS_TOKEN": "",
//下方填写您的一对多推送的 "群组编码" ,(一对多推送下面->您的群组(如无则新建)->群组编码)
"PUSH_PLUS_USER": "",
///青龙配置 注意对接XDD 对接芝士 设置为"Config":[]
"Config": [
{
//序号必填从1 开始
"QLkey": 1,
//服务器名称
"QLName": "",
//青龙地址
"QLurl": "",
//青龙2,9 OpenApi Client ID
"QL_CLIENTID": "",
//青龙2,9 OpenApi Client Secret
"QL_SECRET": "",
//CK最大数量
"QL_CAPACITY": 99,
"QRurl": ""
}
]
}
cd /root/nvjdc && mkdir -p .local-chromium/Linux-884014 && cd .local-chromium/Linux-884014
wget https://mirrors.huaweicloud.com/chromium-browser-snapshots/Linux_x64/884014/chrome-linux.zip && unzip chrome-linux.zip
rm -f ./chrome-linux.zip
sudo docker pull feverrun/nvjdc:1.2
sudo docker run --name nvjdc -p 58000:80 -dit -v /root/nvjdc:/app -v /etc/localtime:/etc/localtime:ro --restart always feverrun/nvjdc:1.2
sudo docker logs -f nvjdc