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.
 
 
 
 
 

75 lines
2.0 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. # RABBITMQ
  52. rabbitmq:
  53. host: localhost
  54. port: 5672
  55. username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
  56. password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
  57. publisher-confirms: true
  58. virtual-host: /
  59. aws:
  60. clientRegion: cn-northwest-1
  61. bucketName: iformall-net
  62. access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=)
  63. secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=)
  64. fm:
  65. exception: true
  66. logging:
  67. level:
  68. tk.mybatis: debug
  69. com.iformall: debug
  70. path: ./logs/m