Skip to content

Commit

Permalink
Merge pull request rubyangxg#13 from Patickhuang/patch-7
Browse files Browse the repository at this point in the history
Update INSTALL-1.8.md
  • Loading branch information
rubyangxg authored Mar 27, 2022
2 parents 5974cd3 + f4d6609 commit f93e920
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions INSTALL-1.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@ wget -O env.properties https://ghproxy.com/https://raw.githubusercontent.com/rub
```
3. 下载rubyangxg/jd-qinglong镜像,**_注意arm的请把1.9替换为arm_**
```
sudo docker pull rubyangxg/jd-qinglong:1.9
sudo docker pull rubyangxg/jd-qinglong:2.0
```
4. 启动,其中env.properties中的SE_NODE_MAX_SESSIONS=8请根据机器配置改,机器要求最少1h2g,推荐2h4g **_注意这是1条命令,全部复制执行,注意\后面不要有空格_**
```
sudo docker run -d -p 5701:8080 -p 9527:8090 --name=webapp --privileged=true -v [你的路径]/env.properties:/env.properties:rw -v [你的路径]/adbot:/adbot rubyangxg/jd-qinglong:1.9
sudo docker run -d -p 5701:8080 -p 9527:8090 --name=webapp --privileged=true -v [你的路径]/env.properties:/env.properties:rw -v [你的路径]/adbot:/adbot rubyangxg/jd-qinglong:2.0
```
或者
```
sudo docker run -d -p 5701:8080 -p 9527:8090 --name=webapp --privileged=true --restart always \
-v [你的路径]/env.properties:/env.properties:rw \
-v [你的路径]/adbot:/adbot \
rubyangxg/jd-qinglong:1.9
rubyangxg/jd-qinglong:2.0
```
arm的启动有所不同,请仔细甄别
```
sudo docker run -d -p 5701:8080 -p 9527:8090 --name=webapp --privileged=true --restart always \
-e "SPRING_PROFILES_ACTIVE=arm" \
-v [你的路径]/env.properties:/env.properties:rw \
-v [你的路径]/adbot:/adbot \
rubyangxg/jd-qinglong:1.9
rubyangxg/jd-qinglong:2.0
```
例子:**_注意这是1条命令,全部复制执行,注意\后面不要有空格_**
```
sudo docker run -d -p 5701:8080 -p 9527:8090 --name=webapp --privileged=true --restart always \
-v "$(pwd)"/env.properties:/env.properties:rw \
-v "$(pwd)"/adbot:/adbot \
rubyangxg/jd-qinglong:1.9
rubyangxg/jd-qinglong:2.0
```
或者编写docker-compose.yml
```
Expand All @@ -54,7 +54,7 @@ services:
volumes:
- ./env.properties:/env.properties:rw
- ./adbot:/adbot
image: rubyangxg/jd-qinglong:1.9
image: rubyangxg/jd-qinglong:2.0
```
然后在docker-compose.yml目录下执行命令
```
Expand All @@ -71,6 +71,6 @@ docker-compose up -d
### 更新教程:
```
docker rm -f webapp
docker rmi rubyangxg/jd-qinglong:1.7
docker rmi rubyangxg/jd-qinglong:2.0
```
**上面两条命令执行完毕后,重新运行启动命令(安装教程第4步)**

0 comments on commit f93e920

Please sign in to comment.