Skip to content

Commit

Permalink
开发推送功能
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxg committed Sep 23, 2021
1 parent 8edd9d0 commit b6de505
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions INSTALL2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
安装教程:
1. 确保docker.sock存在(只要安装了docker一般都会有)
```
ls -alh /var/run/docker.sock
srw-rw---- 1 root root 0 Sep 21 19:46 /var/run/docker.sock
```
2. 下载chrome镜像(仅需执行一次,后续更新不用重新下载)
```
sudo docker pull selenoid/chrome:89.0
```
3. 下载rubyangxg/jd-qinglong镜像
```
sudo docker pull rubyangxg/jd-qinglong:1.1
```
4. 启动
```
sudo docker run -d -p 5701:8080 --name=webapp --privileged=true \
-e "SE_NODE_MAX_SESSIONS=8"
-v /var/run/docker.sock:/var/run/docker.sock \
-v /[你的路径]/env.properties:/env.properties:ro \
rubyangxg/jd-qinglong:1.1
```
例如:
```
sudo docker run -d -p 5701:8080 --name=webapp --privileged=true \
-e "SE_NODE_MAX_SESSIONS=8" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(pwd)"/env.properties:/env.properties:ro \
rubyangxg/jd-qinglong:1.1
```
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* **群晖**安装参考源码路径下的 **jd-qinglong-群晖安装教程.pdf**
* 编写好env.properties,然后`docker run -e "SE_NODE_MAX_SESSIONS=4" -p 5701:8080 --name=jd-qinglong -v "$(pwd)"/env.properties:/env.properties:ro rubyangxg/jd-qinglong:allinone`
* 安装教程: [INSTALL.md](INSTALL.md)
* 安装教程2: [INSTALL2.md](INSTALL2.md)
* 免费代挂及问题反馈移步: [TG交流群](https://t.me/joinchat/3JfrwNPoHFY2MGNl)

## 多谢
Expand Down

0 comments on commit b6de505

Please sign in to comment.