feat(config): 更新项目配置以支持MySQL数据库和环境变量

- 添加docker环境变量配置文件包含数据库连接信息
- 更新前端环境变量中的API基础URL地址
- 修改后端应用配置以支持环境变量读取数据库配置
- 在Docker Compose中添加环境变量传递和env_file支持
- 配置生产环境下的MySQL数据源和MyBatis-Plus设置
- 添加服务器镜像导入和数据库用户创建说明文档
This commit is contained in:
ikmkj
2026-01-07 14:58:16 +08:00
parent a0991db83e
commit bd0188605d
7 changed files with 75 additions and 6 deletions

View File

@@ -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?????