新增docker-compose部署 (#187)

* feat docker-compose deploy

* feat docker-compose deploy
This commit is contained in:
张琪灵
2023-03-02 18:07:54 +08:00
committed by GitHub
parent f234aebaec
commit 21cf1bdd9e
4 changed files with 72 additions and 0 deletions

15
docker-compose/readme.md Normal file
View File

@@ -0,0 +1,15 @@
### docker-compose 部署教程
- 将打包好的前端文件放到 `nginx/html` 目录下
- ```shell
# 打包启动
docker-compose build
docker-compose up -d
```
- ```shell
# 查看运行状态
docker ps
```
- ```shell
# 结束运行
docker-compose down
```