docker images use aliyun

This commit is contained in:
pycook
2019-11-13 11:56:17 +08:00
parent 39153e92d1
commit c0c6d116b5
3 changed files with 25 additions and 25 deletions

View File

@@ -23,12 +23,22 @@ Overview
![模型配置](https://raw.githubusercontent.com/pycook/cmdb/master/ui/public/cmdb02.jpeg)
环境和依赖
Docker一键快速构建
----
- 进入主目录先安装docker环境
```
docker-compose up -d
```
- 浏览器打开: [http://localhost:8000](http://localhost:8000)
本地搭建: 环境和依赖
----
- 存储: mysql, redis
- python版本: python2.7, >=python3.6
Install
----
- 启动mysql服务, redis服务
@@ -76,13 +86,3 @@ cp api/settings.py.example api/settings.py
- 启动API: ```make api```
- 启动UI: ```make ui```
- 启动worker: ```make worker```
Install by Docker
----
- 进入主目录首次镜像的构建需要**10分钟**左右视网络情况而定
```
docker-compose up -d
```
- 浏览器打开: [http://localhost:8000](http://localhost:8000)