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.
 
 
 
 
 

78 rivejä
2.1 KiB

  1. spring:
  2. profiles:
  3. include: rabbitMQ
  4. # JDBC
  5. datasource:
  6. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
  7. username: ENC(NUzgQOdJnCbVLKT6BaX0aw==)
  8. password: ENC(mvuoDRiu0jqYaKNRwwTuXZ6U7aoIaqsjdiPqTLgi/nY=)
  9. type: com.alibaba.druid.pool.DruidDataSource
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. filters: stat
  12. maxActive: 20
  13. initialSize: 1
  14. maxWait: 60000
  15. minIdle: 1
  16. timeBetweenEvictionRunsMillis: 28000
  17. minEvictableIdleTimeMillis: 28000
  18. validationQuery: select 'x'
  19. testWhileIdle: true
  20. testOnBorrow: false
  21. testOnReturn: false
  22. poolPreparedStatements: true
  23. maxOpenPreparedStatements: 20
  24. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  25. # REDIS
  26. redis:
  27. host: 127.0.0.1
  28. port: 6379
  29. password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
  30. timeout: 3600
  31. expire: 1800 #30分钟
  32. database: 1
  33. defaultExpiration: 2592000 # 默认生命周期30天
  34. jedis:
  35. pool:
  36. max-active: 8
  37. max-idle: 8
  38. max-wait: -1
  39. min-idle: 0
  40. # EMAIL
  41. mail:
  42. host: smtp.exmail.qq.com
  43. username: ENC(I2YKxnRVPY7J1r/bwzwHOhQCjj3nVqCWEbVTJvBq7y0=)
  44. password: ENC(APQMO9XQRzMKd0eap+oSSOYH9MQe/r5K0YFF9A9mizU=) # 授权密码
  45. properties:
  46. mail:
  47. smtp:
  48. auth: true
  49. starttls:
  50. enable: true
  51. socketFactory:
  52. port: 465
  53. class: javax.net.ssl.SSLSocketFactory
  54. # RABBITMQ
  55. rabbitmq:
  56. host: localhost
  57. port: 5672
  58. username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
  59. password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
  60. publisher-confirms: true
  61. virtual-host: /
  62. aws:
  63. clientRegion: cn-northwest-1
  64. bucketName: iformall-net
  65. access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=)
  66. secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=)
  67. fm:
  68. exception: true
  69. logging:
  70. level:
  71. tk.mybatis: debug
  72. com.iformall: debug
  73. path: ./logs/m