🚑 修复 docker 构建失败.
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
||||
- 1081:80
|
||||
environment:
|
||||
- MYSQL_HOST=orion-ops-pro-db
|
||||
- MYSQL_PORT=3306
|
||||
- MYSQL_USER=orion
|
||||
- MYSQL_PASSWORD=Data@123456
|
||||
- REDIS_HOST=orion-ops-pro-redis
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
FROM mysql:8.0.28
|
||||
COPY sql/init-1-schema-databases.sql /tmp
|
||||
COPY sql/init-2-schema-tables.sql /tmp
|
||||
COPY sql/init-3-data.sql /tmp
|
||||
COPY sql/init-3-schema-quartz.sql /tmp
|
||||
COPY sql/init-4-data.sql /tmp
|
||||
COPY docker/mysql/my.cnf /etc/mysql/conf.d/my.cnf
|
||||
RUN cat /tmp/init-1-schema-databases.sql >> /tmp/init.sql && \
|
||||
cat /tmp/init-2-schema-tables.sql >> /tmp/init.sql && \
|
||||
|
||||
@@ -26,7 +26,8 @@ git clone https://gitee.com/lijiahangmax/orion-ops-pro
|
||||
# 执行脚本
|
||||
orion-ops-pro/sql/init-1-schema-databases.sql
|
||||
orion-ops-pro/sql/init-2-schema-tables.sql
|
||||
orion-ops-pro/sql/init-3-data.sql
|
||||
orion-ops-pro/sql/init-3-schema-quartz.sql
|
||||
orion-ops-pro/sql/init-4-data.sql
|
||||
```
|
||||
|
||||
3. 修改后端配置
|
||||
|
||||
@@ -17,6 +17,15 @@ Dashboard 修改)
|
||||
}
|
||||
```
|
||||
|
||||
### 拉取代码
|
||||
|
||||
```
|
||||
# github
|
||||
git clone https://github.com/lijiahangmax/orion-ops-pro
|
||||
# gitee
|
||||
git clone https://gitee.com/lijiahangmax/orion-ops-pro
|
||||
```
|
||||
|
||||
### 构建镜像
|
||||
|
||||
```
|
||||
|
||||
@@ -27,7 +27,8 @@ git clone https://gitee.com/lijiahangmax/orion-ops-pro
|
||||
# 执行脚本
|
||||
orion-ops-pro/sql/init-1-schema-databases.sql
|
||||
orion-ops-pro/sql/init-2-schema-tables.sql
|
||||
orion-ops-pro/sql/init-3-data.sql
|
||||
orion-ops-pro/sql/init-3-schema-quartz.sql
|
||||
orion-ops-pro/sql/init-4-data.sql
|
||||
```
|
||||
|
||||
3. 构建后端代码
|
||||
|
||||
11
docs/update/v1.0.8.md
Normal file
11
docs/update/v1.0.8.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## v1.0.7
|
||||
|
||||
> sql 脚本 - DDL
|
||||
|
||||
```sql
|
||||
```
|
||||
|
||||
> sql 脚本 - DML
|
||||
|
||||
```sql
|
||||
```
|
||||
Reference in New Issue
Block a user