bootstrap.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. spring:
  2. application:
  3. name: fm-person
  4. datasource:
  5. druid:
  6. stat-view-servlet:
  7. enabled: true
  8. urlPattern: /druid/*
  9. resetEnable: true
  10. loginUsername: admin
  11. loginPassword: admin
  12. web-stat-filter:
  13. enabled: true
  14. urlPattern: /*
  15. sessionStatEnable: false
  16. sessionStatMaxCount: 1000
  17. profileEnable: true
  18. dynamic:
  19. druid: #以下是支持的全局默认值
  20. initial-size: 5
  21. max-active: 20
  22. min-idle: 5
  23. max-wait: 60000
  24. pool-prepared-statements: true
  25. max-pool-prepared-statement-per-connection-size: 20
  26. validation-query: SELECT 1
  27. test-while-idle: true
  28. test-on-borrow: false
  29. test-on-return: false
  30. time-between-eviction-runs-millis: 60000
  31. min-evictable-idle-time-millis: 300000
  32. max-evictable-idle-time-millis: 900000
  33. keep-alive: true
  34. datasource:
  35. fm-person:
  36. url: jdbc:mysql://192.168.64.15:9934/${spring.application.name}?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
  37. username: root
  38. password: brzj123456
  39. driver-class-name: com.mysql.jdbc.Driver
  40. druid: # 以下是独立参数,每个库可以重新设置
  41. initial-size:
  42. validation-query: select 1 FROM DUAL #比如oracle就需要重新设置这个
  43. public-key: #(非全局参数)设置即表示启用加密,底层会自动帮你配置相关的连接参数和filter,推荐使用本项目自带的加密方法。
  44. server:
  45. port: ${SERVER_PORT:8814}
  46. dep:
  47. amqp:
  48. exchange:
  49. saas: saas.common.topic
  50. routingKey:
  51. saas: saas.common.group
  52. queue:
  53. saas: dep.saas.queue
  54. person:
  55. amqp:
  56. exchange:
  57. saas: saas.common.topic
  58. routingKey:
  59. saas: saas.common.account
  60. queue:
  61. saas: person.saas.queue
  62. #mybatis-plus:
  63. # mapper-locations: classpath*:/mapper/*Mapper.xml
  64. # typeAliasesPackage: com.persagy.fm.test.model.entity