application.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. datasource:
  2. maxActive: 30
  3. initialSize: 5
  4. maxWaitMillis: 15000
  5. minIdle: 5
  6. timeBetweenEvictionRunsMillis: 60000
  7. minEvictableIdleTimeMillis: 300000
  8. validationQuery: SELECT '1'
  9. testWhileIdle: true
  10. testOnBorrow: false
  11. testOnReturn: false
  12. es:
  13. elasticIps: http://db.comtti.net:12900
  14. ---
  15. datasource:
  16. comtika:
  17. url: jdbc:mysql://db.comtti.net:8066/comtika?useUnicode=true&characterEncoding=utf-8
  18. username: comtika
  19. password: Actor@com2018
  20. redis:
  21. password: comtika2018
  22. pool:
  23. nodes: db.comtti.net:7000,db.comtti.net:7001,db.comtti.net:7002,www.comtti.net:7000,www.comtti.net:7001,www.comtti.net:7002
  24. max-active: 16
  25. max-wait: 1
  26. max-idle: 8
  27. min-idle: 0
  28. timeout: 0
  29. commandTimeout: 5000
  30. testOnBorrow: false
  31. spring:
  32. rabbitmq:
  33. host: 47.106.213.90
  34. port: 5672
  35. username: admin
  36. password: comtika2018
  37. profiles: prod
  38. ---
  39. datasource:
  40. comtika:
  41. url: jdbc:mysql://47.107.35.207:6606/comtika?useUnicode=true&characterEncoding=utf-8
  42. username: root
  43. password: Comtika2019
  44. spring:
  45. rabbitmq:
  46. host: 47.107.35.207
  47. port: 5672
  48. username: admin
  49. password: comtika2018
  50. profiles: test
  51. redis:
  52. host: 47.107.35.207
  53. port: 6379
  54. timeout: 5000
  55. password: comtika2018
  56. database: 0
  57. pool:
  58. max-idle: 16
  59. min-idle: 0
  60. wait-time: -1