Skip to content

Commit

Permalink
add docker install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
boy-hack committed Aug 8, 2018
1 parent 5d95518 commit 3553db6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ w11scan是一款分布式的WEB指纹识别系统(包括CMS识别、js框架
## 安装
软件本身安装非常简单,比较复杂的是一些框架、数据库的安装。
- [安装](./docs/install.md)
- docker在筹划中...
- [docker install](./docs/install-docker.md)
## 流程演示视频
[![](https://x.hacking8.com/content/uploadfile/201808/56cc1533655687.jpg)](https://x.hacking8.com/content/uploadfile/201808/26db1533655527.mp4)
## 使用的技术和思路
Expand Down
17 changes: 17 additions & 0 deletions docs/install-docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Docker 安装w11scan

## 注意
docker安装方式仅为测试w11scan的单机安装方案(主控和节点在一个docker里),不是节点安装方式。如果想使用docker部署分布式节点需要自行修改`Dockerfile`文件,或联系作者提供帮助。

## 安装
1. 到项目根目录,输入命令
```
docker build -t w11scan:1.0 .
```
这样docker便打包完毕
2. 因为在启动docker的时候会向mongodb添加指纹信息,所以速度会比较慢。用下面的命令查看进度。
```docker run -it -p 666:8000 w11scan:1.0```
当然,你也可以放到后台执行
```docker run -d -p 666:8000 w11scan:1.0```
3. 打开http://127.0.0.1:666 账号密码为 admin w11scan
4. Enjoy it!

0 comments on commit 3553db6

Please sign in to comment.