refactor(ci): 重构CI/CD配置并更新测试环境配置

- 移除开发环境的构建和部署配置
- 更新测试环境构建配置,修改标签从mes-test到blog-test
- 修改生产环境镜像标签格式,添加版本号v1.0.0
- 更新测试环境应用配置,修改端口从11024到1024
- 修改测试环境context-path从根路径到/mowen-blog
- 更新日志目录配置为动态路径
- 修改测试环境数据库连接信息,包括主机地址、用户名和密码
- 更新Redis连接配置,修改数据库编号、主机地址和密码
- 设置token有效期为永久有效(-1)
This commit is contained in:
2026-05-15 14:55:05 +08:00
parent 957e172918
commit 72bf32df91
3 changed files with 14 additions and 55 deletions

View File

@@ -1,9 +1,9 @@
spring:
# 数据库连接信息
datasource:
url: jdbc:p6spy:mysql://127.0.0.1:3306/mowen-blog?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: SmartAdmin666
url: jdbc:p6spy:mysql://10.126.126.1:43706/mowen-blog?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: mowen-blog
password: junmowen
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
initial-size: 2
min-idle: 2
@@ -23,10 +23,10 @@ spring:
# redis 连接池配置信息
data:
redis:
database: 1
host: 127.0.0.1
port: 6379
password:
database: 3
host: 10.126.126.1
port: 36579
password: junmowen
timeout: 10000ms
lettuce:
pool:
@@ -154,7 +154,7 @@ sa-token:
# token 前缀 例如:Bearer
token-prefix: Bearer
# token 有效期(单位:秒) 默认30天2592000秒-1 代表永久有效
timeout: 2592000
timeout: -1
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
active-timeout: -1
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)