prod config back

This commit is contained in:
Owen 2025-02-20 16:38:02 +08:00
parent 518670714f
commit 31b3f38806
2 changed files with 178 additions and 12193 deletions

View File

@ -45,7 +45,7 @@ spring:
primary: master
datasource:
master:
url: jdbc:mysql://172.18.0.1:3306/haoka?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
url: jdbc:mysql://172.18.0.1:3306/haoka_prod?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
# url: jdbc:mysql://172.18.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例
# url: jdbc:postgresql://172.18.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例
# url: jdbc:oracle:thin:@172.18.0.1:1521:xe # Oracle 连接的示例
@ -63,7 +63,7 @@ spring:
# password: Yudao@2024 # OpenGauss 连接的示例
slave: # 模拟从库,可根据自己需要修改
lazy: true # 开启懒加载,保证启动速度
url: jdbc:mysql://172.18.0.1:3306/haoka?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
url: jdbc:mysql://172.18.0.1:3306/haoka_prod?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
username: root
password: TR09GMwhazSYBL
@ -72,7 +72,7 @@ spring:
redis:
host: 172.18.0.1 # 地址
port: 6379 # 端口
database: 5 # 数据库索引
database: 4 # 数据库索引
password: GjX9dShXHGyNYA # 密码,建议生产环境开启
--- #################### 定时任务相关配置 ####################

File diff suppressed because one or more lines are too long