feat(config): 更新项目配置以支持MySQL数据库和环境变量
- 添加docker环境变量配置文件包含数据库连接信息 - 更新前端环境变量中的API基础URL地址 - 修改后端应用配置以支持环境变量读取数据库配置 - 在Docker Compose中添加环境变量传递和env_file支持 - 配置生产环境下的MySQL数据源和MyBatis-Plus设置 - 添加服务器镜像导入和数据库用户创建说明文档
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
server:
|
||||
port: 8084
|
||||
forward-headers-strategy: framework
|
||||
|
||||
spring:
|
||||
web:
|
||||
nginx:
|
||||
https-forward-headers: true
|
||||
application:
|
||||
name: biji-houdaun
|
||||
profiles:
|
||||
@@ -12,8 +19,6 @@ file:
|
||||
|
||||
|
||||
#??
|
||||
server:
|
||||
port: 8084
|
||||
|
||||
|
||||
## Snowflake ID?????
|
||||
|
||||
Reference in New Issue
Block a user