1. 更新所有服务Dockerfile,切换到eclipse-temurin:17-jre-alpine镜像并调整服务端口 2. 配置前端项目基础路径与nginx代理 3. 新增数据库初始化编码设置与测试依赖 4. 添加部分服务的Servlet编码配置与JWT/LLM密钥配置 5. 完善话术实体类校验注解与Mapper接口 6. 新增密码生成工具类与部分测试文件配置
28 lines
635 B
YAML
28 lines
635 B
YAML
spring:
|
|
datasource:
|
|
driver-class-name: org.h2.Driver
|
|
url: jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
|
username: sa
|
|
password:
|
|
sql:
|
|
init:
|
|
mode: always
|
|
schema-locations: classpath:schema.sql
|
|
data-locations: classpath:data.sql
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
global-config:
|
|
db-config:
|
|
logic-delete-field: deleted
|
|
logic-delete-value: 1
|
|
logic-not-delete-value: 0
|
|
|
|
jwt:
|
|
secret: test-jwt-secret-key-2024-for-unit-testing-only
|
|
expiration: 86400
|