添加容器化部署方式

This commit is contained in:
fxiang21
2019-11-07 14:51:59 +08:00
committed by pycook
parent a9069860ed
commit e0e048572f
8 changed files with 235 additions and 0 deletions

View File

@@ -56,3 +56,9 @@ cp api/settings.py.example api/settings.py
- 浏览器打开: [http://127.0.0.1:8000](http://127.0.0.1:8000)
- 如果是非本机访问, 要修改**ui/.env****VUE_APP_API_BASE_URL**里的IP地址为后端服务的ip地址
docker运行
----
进入主目录
```
docker-compose up
```