🧬drewnb_qinglong.md

This commit is contained in:
Leon 2021-06-24 10:27:24 +08:00
parent de2129964c
commit 3622d92dba
2 changed files with 78 additions and 33 deletions

View File

@ -1,14 +1,20 @@
- 仅限服务器、pc等设备使用
由于昨天弄到太晚误将尝鲜版上传到锁定版现在已恢复请全部重新部署该环境目前尝鲜版有bug还在解决中。
``` sh
cd /opt
```
仅限服务器、pc等设备使用
版本介绍:
2.2-jdc 为锁定版以更改为本人源码源码更改自limoe大佬无botjdc随容器启动
2.2-jdc-bot 为锁定版以更改为本人源码源码更改自limoe大佬有botjdc随容器启动
jdc有BUG弃用,请使用2.2-jdc或2.2-jdc-bot
``` sh
docker run -dit
-v /opt/ql/config:/ql/config
-v /opt/ql/log:/ql/log
-v /opt/ql/scripts:/ql/scripts
-v $PWD/ql/config:/ql/config
-v $PWD/ql/log:/ql/log
-v $PWD/ql/scripts:/ql/scripts
-p 5700:5700
-p 5701:5701
-e ENABLE_HANGUP=false
@ -19,39 +25,21 @@ docker run -dit
drewnb/qinglong:2.2-jdc
```
## 1、进入容器。
青龙bot
``` sh
docker exec -it qinglong bash # 此处为容器名
```
重启后请进入青龙面板-配置文件-设置AutoStartBot=”true”这样每次容器重启bot也会自动重启。
## 2、进入jdc文件夹
青龙IP 容器IP:5700
```sh
cd jdc/ (2.2-jdc不用再进jdc目录直接在/ql目录下
```
JDCIP 容器IP:5701
## 3、执行
``` sh
nohup ./JDC >/dev/null 2>&1 &
```
```
pm2 start JDC
```
青龙IP 容器IP5700
jdcIP 容器IP5701
### 多容器部署:
多容器部署:
-p 5700:5700 \ XXXX:5700
-p 5701:5701 \XXXX:5701
本人不接受任何打赏同时感谢whyour、花语以及limoe大佬的无私奉献排名不分先后在本人心中同等重要如果认同本容器烦请多多关注以上大佬没有他们的无私奉献也就没有今天的百花齐放最后警告不要让本容器出现在任何公众平台我很低调不希望有人记得我
## DockerHub
> https://registry.hub.docker.com/r/drewnb/qinglong
> https://registry.hub.docker.com/r/drewnb/qinglong

View File

@ -0,0 +1,57 @@
- 仅限服务器、pc等设备使用
``` sh
cd /opt
```
``` sh
docker run -dit
-v /opt/ql/config:/ql/config
-v /opt/ql/log:/ql/log
-v /opt/ql/scripts:/ql/scripts
-p 5700:5700
-p 5701:5701
-e ENABLE_HANGUP=false
-e ENABLE_WEB_PANEL=true
--name qinglong
--hostname qinglong
--restart always
drewnb/qinglong:2.2-jdc
```
## 1、进入容器。
``` sh
docker exec -it qinglong bash # 此处为容器名
```
## 2、进入jdc文件夹
```sh
cd jdc/ (2.2-jdc不用再进jdc目录直接在/ql目录下
```
## 3、执行
``` sh
nohup ./JDC >/dev/null 2>&1 &
```
```
pm2 start JDC
```
青龙IP 容器IP5700
jdcIP 容器IP5701
### 多容器部署:
-p 5700:5700 \ XXXX:5700
-p 5701:5701 \XXXX:5701
## DockerHub
> https://registry.hub.docker.com/r/drewnb/qinglong