Skip to content

Commit

Permalink
docker运行官方镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
mahonelau committed Jun 16, 2022
1 parent 46462c5 commit d9b691c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Docker方式快速运行.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

**Docker环境请自行准备

- # 构建后台
- # 用官方镜像运行
```
运行CMD,进入jeecg-boot根路径下面命令启动镜像容器组
docker-compose -f ./docker-compose-official.yml up
```

- # 本地打包构建后台

1. yml配置文件请确保每一项下面按正确配置
```
Expand Down Expand Up @@ -37,13 +44,13 @@ spring:
2. 通过jeecg-boot-parent项目 maven打包,执行install
3. 打包Docker容器
```
进入jeecg-boot根路径下面命令、启动镜像容器组
运行CMD,进入jeecg-boot根路径下面命令启动镜像容器组
docker-compose up -d
```
4. 访问后台项目(注意要开启swagger)http://localhost:8080/ky/doc.html

- # 构建前端
- # 本地打包构建前端
1. 修改前端项目的后台域名
.env.production

Expand Down

0 comments on commit d9b691c

Please sign in to comment.