forked from awolfly9/IPProxyTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
“your_username
authored and
“your_username
committed
May 15, 2017
1 parent
d5fa329
commit 184fcee
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters