|
@@ -40,21 +40,21 @@ spring:
|
|
|
primary: master
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
|
|
|
- username: root
|
|
|
- password: 123456
|
|
|
+ url: jdbc:mariadb://123.60.223.250:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
|
|
|
+ username: gyee
|
|
|
+ password: eeyg
|
|
|
slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改
|
|
|
lazy: true # 开启懒加载,保证启动速度
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
|
|
|
- username: root
|
|
|
- password: 123456
|
|
|
+ url: jdbc:mariadb://123.60.223.250:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
|
|
|
+ username: gyee
|
|
|
+ password: eeyg
|
|
|
|
|
|
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
|
|
|
data:
|
|
|
redis:
|
|
|
- host: 400-infra.server.iocoder.cn # 地址
|
|
|
+ host: 123.60.223.250 # 地址
|
|
|
port: 6379 # 端口
|
|
|
- database: 1 # 数据库索引
|
|
|
+ database: 2 # 数据库索引
|
|
|
# password: 123456 # 密码,建议生产环境开启
|
|
|
|
|
|
--- #################### 定时任务相关配置 ####################
|
|
@@ -92,18 +92,18 @@ spring:
|
|
|
|
|
|
# rocketmq 配置项,对应 RocketMQProperties 配置类
|
|
|
rocketmq:
|
|
|
- name-server: 127.0.0.1:9876 # RocketMQ Namesrv
|
|
|
+ name-server: 123.60.223.250:9876 # RocketMQ Namesrv
|
|
|
|
|
|
spring:
|
|
|
# RabbitMQ 配置项,对应 RabbitProperties 配置类
|
|
|
rabbitmq:
|
|
|
- host: 127.0.0.1 # RabbitMQ 服务的地址
|
|
|
+ host: 123.60.223.250 # RabbitMQ 服务的地址
|
|
|
port: 5672 # RabbitMQ 服务的端口
|
|
|
username: guest # RabbitMQ 服务的账号
|
|
|
password: guest # RabbitMQ 服务的密码
|
|
|
# Kafka 配置项,对应 KafkaProperties 配置类
|
|
|
kafka:
|
|
|
- bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔
|
|
|
+ bootstrap-servers: 123.60.223.250:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔
|
|
|
|
|
|
--- #################### 服务保障相关配置 ####################
|
|
|
|
|
@@ -198,4 +198,4 @@ justauth:
|
|
|
cache:
|
|
|
type: REDIS
|
|
|
prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
|
|
|
- timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
|
|
|
+ timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
|