You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

71 regels
2.0 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallinkTest?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
  5. username: ENC(Uc0AjgkytxHHCwZrmDASWg==)
  6. password: ENC(nV4Mi3bEbBx0Fj7uUyYH55eTaqsFMjKvmNzagicH4pc=)
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. driver-class-name: com.mysql.cj.jdbc.Driver
  9. filters: stat
  10. maxActive: 20
  11. initialSize: 1
  12. maxWait: 60000
  13. minIdle: 1
  14. timeBetweenEvictionRunsMillis: 28000
  15. minEvictableIdleTimeMillis: 28000
  16. validationQuery: select 'x'
  17. testWhileIdle: true
  18. testOnBorrow: false
  19. testOnReturn: false
  20. poolPreparedStatements: true
  21. maxOpenPreparedStatements: 20
  22. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  23. # REDIS
  24. redis:
  25. host: 127.0.0.1
  26. port: 6379
  27. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  28. timeout: 3600
  29. expire: 1800 #30分钟
  30. database: 1
  31. defaultExpiration: 2592000 # 默认生命周期30天
  32. jedis:
  33. pool:
  34. max-active: 8
  35. max-idle: 8
  36. max-wait: -1
  37. min-idle: 0
  38. # EMAIL
  39. mail:
  40. host: smtp.exmail.qq.com
  41. username: ENC(HFbRXtAFVxU36Hk0yT3reyvRuLrw3RhMlbxFj9Ev/VY=)
  42. password: ENC(pk4+/3C5n2hMYmgi+VTqI4P1m77DllW8y4KElMXXmIo=) # 授权密码
  43. properties:
  44. mail:
  45. smtp:
  46. auth: true
  47. starttls:
  48. enable: true
  49. # RABBITMQ
  50. rabbitmq:
  51. host: 127.0.0.1
  52. port: 5672
  53. username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
  54. password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
  55. publisher-confirms: true
  56. virtual-host: /
  57. aws:
  58. clientRegion: cn-northwest-1
  59. bucketName: iformall-net
  60. access: ENC(NCLcmjwKpAWdn/abD17OKIY7yKepVLWzEpqRYUlURCw=)
  61. secret: ENC(TRcZqql0Rq5PExlMeH/4WiZ/i02b8FXKmLTBChJmbluTa1uoLS9LrHyNEMrqe1DK+QgOAdvqGBo=)
  62. fm:
  63. exception: true
  64. logging:
  65. level:
  66. tk.mybatis: debug
  67. com.iformall: debug
  68. path: ./logs/s