Skip to content

Commit

Permalink
更新mac M芯片 docker 描述
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui committed Nov 1, 2024
1 parent 90b5241 commit 67ac5a0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions jimureport-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,20 @@ Docker镜像制作
- 第四步:执行命令,生成镜像

>如果使用的是Mac M系列芯片,需要修改docker-compose.yml文件的第一行为:```FROM arm64v8/mysql:8```
docker-compose up -d
- 第五步:访问报表(默认账号:admin 密码:123456)

报表工作台: http://localhost:8085/jmreport/list

仪表盘工作台: http://localhost:8085/drag/list

> 如果使用的是Mac M系列芯片:
**1、将`jimureport-mysql`的基础镜像改为arm平台:**

修改`JimuReport/db/Dockerfile`文件的第一行为:`FROM arm64v8/mysql:8`

**2、 将`jimureport`的基础镜像改为arm平台**
* 制作基于arm架构的jdk8的docker镜像。
* 修改 `JimuReport/Dockerfile`文件的第一行为:`FROM <制作的镜像名称>`

0 comments on commit 67ac5a0

Please sign in to comment.