Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
“your_username authored and “your_username committed May 15, 2017
1 parent d5fa329 commit 184fcee
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
34 changes: 32 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
docker 创建容器
运行容器即可
## 在系统中安装docke就可以使用本程序:

下载本程序
```
git clone ipproxy
```

然后进入目录:
```
cd ipproxy
```

创建镜像:
```
docker build -t proxy .
```

运行容器:
```
docker run -it proxy
```

## 在config.py中按照自己的需求修改配置信息
```
database_config = {
'host': 'localhost',
'port': 3306,
'user': 'root',
'password': 'root',
'charset': 'utf8',
}
```
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# local
database_config = {
'host': '52.163.48.238',
'port': 10101,
'host': 'localhost',
'port': 3306,
'user': 'root',
'password': 'root',
'charset': 'utf8',
Expand Down

0 comments on commit 184fcee

Please sign in to comment.