application-local.yml 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
#兼容swagger配置
spring:
  mail:
    host: smtp.qq.com
    # 发送者的邮箱账号
    username: 327782001@qq.com
    # 邮箱密码授权码
    password: kypxnmwfniqrcbeh
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
            required: true
  redis:
    database: 0 # Redis数据库索引(默认为0)
    host: 120.79.36.53  #Redis服务器地址
    port: 6379 # Redis服务器连接端口
    password: 123456 # Redis服务器连接密码(默认为空)
    jedis:
      pool:
        max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
        max-idle: 10 # 连接池中的最大空闲连接
        min-idle: 0 # 连接池中的最小空闲连接
        max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  # mysql
  datasource:
    dynamic:
      seata: true
      primary: kwan-ds
      datasource:
        kwan-ds:
          driver-class-name: com.mysql.cj.jdbc.Driver
          #          url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
          url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
          username: root
          #          password: 716288qwe
          password: 15671628341Qwe.
        ali-ds:
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
          username: root
44 45 46 47 48
          password: 15671628341Qwe.
# jasypt加密的密匙
jasypt:
  encryptor:
    password: Y6M9fAJQdU7jNp5MW