You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
### docker-compose 部署教程
|
|
|
|
- 将打包好的前端文件放到 `nginx/html` 目录下
|
|
|
|
- ```shell
|
|
|
|
# 启动
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
- ```shell
|
|
|
|
# 查看运行状态
|
|
|
|
docker ps
|
|
|
|
```
|
|
|
|
- ```shell
|
|
|
|
# 结束运行
|
|
|
|
docker-compose down
|
|
|
|
```
|