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 lines
1.8 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://202.165.179.86:3306/mallinkDev?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false
  5. username: ENC(dZ8fmrtuBMQYaRytKQgTqg==)
  6. password: ENC(WGu0+1DPIHrqorDhrbq1+7wr7xNG53mN)
  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: 60000
  15. minEvictableIdleTimeMillis: 300000
  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. #jackson:
  24. #date-format: yyyy-MM-dd HH:mm:ss
  25. # REDIS
  26. redis:
  27. host: 202.165.179.86
  28. port: 6379
  29. password: ENC(aYJ3Wr2UWtkORRQjjrWWpz2ZeTISsHOA)
  30. timeout: 3600
  31. expire: 1800 #30分钟
  32. database: 1
  33. defaultExpiration: 2592000 # 默认生命周期30天
  34. jedis:
  35. pool:
  36. max-active: 50
  37. max-idle: 50
  38. max-wait: -1
  39. min-idle: 10
  40. # EMAIL
  41. mail:
  42. host: smtp.exmail.qq.com
  43. username: ENC(R0bER9E9OB9/YQcpNXMyYDwofNVb8/pFl4nrApS8mi0=)
  44. password: ENC(50YqJd0iK/2r2YnmEd5RKaki3ktU73UDapBJrVYfqmc=) # 授权密码
  45. properties:
  46. mail:
  47. smtp:
  48. auth: true
  49. starttls:
  50. enable: true
  51. aws:
  52. clientRegion: cn-northwest-1
  53. bucketName: iformall-net
  54. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  55. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  56. jasypt:
  57. encryptor:
  58. password: oRqdnDbK5pj3eMmB
  59. fm:
  60. exception: false
  61. logging:
  62. level:
  63. tk.mybatis: debug
  64. com.iformall.mapper: debug
  65. path: ./logs/s