xiaoyong931011
2023-10-12 c4bf5ac4f2316110c416fbf4cdec1dddc91f5860
src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
  datasource:
    dynamic:
      # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
      p6spy: false
      p6spy: true
      hikari:
        connection-timeout: 30000
        max-lifetime: 1800000
@@ -15,20 +15,20 @@
      datasource:
        # 数据源-1,名称为 base
        base:
          username: db_gzyp_prd
          password: gzyp123!@#123
          username: db_im_redbag
          password: db_im_redbag123
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://121.43.43.93:3306/db_gzyp_prd?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://154.91.195.148:3306/db_im_redbag?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  redis:
    # Redis数据库索引(默认为 0)
    database: 0
    database: 2
    # Redis服务器地址
    host: 121.43.43.93
    host: 154.91.195.148
    # Redis服务器连接端口
    port: 6379
    # Redis 密码
    password: gzyp-mall=-0
    password: dapp!@#123
    lettuce:
      pool:
        # 连接池中的最小空闲连接
@@ -41,11 +41,13 @@
        max-wait: 10000
    # 连接超时时间(毫秒)
    timeout: 5000
  # rabbitmq 配置
  rabbitmq:
    host: 121.43.43.93
    host: 154.91.195.148
    port: 5672
    username: ct_rabbit
    password: 123456
    username: xc_rabbit
    password: xuncong123
    publisher-confirm-type: correlated
pay: