hos-admin.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. security:
  2. basic:
  3. enabled: false
  4. hystrix:
  5. command:
  6. default:
  7. execution:
  8. # timeout:
  9. # enabled: false
  10. isolation:
  11. thread:
  12. timeoutInMilliseconds: 30000
  13. ---
  14. spring:
  15. profiles: dev
  16. datasource:
  17. driverClassName: com.mysql.jdbc.Driver
  18. url: jdbc:mysql://172.19.103.57:8066/hos1?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  19. username: hos
  20. password: 123456
  21. test-on-borrow: true
  22. validation-query: SELECT 1
  23. test-while-idle: true
  24. max-total: 100
  25. default-auto-commit: true
  26. max-idle: 50
  27. min-idle: 20
  28. initial-size: 10
  29. jpa:
  30. database-platform: org.hibernate.dialect.MySQL5Dialect
  31. hibernate:
  32. dialect: org.hibernate.dialect.MySQL5Dialect
  33. format-sql: true
  34. show-sql: false
  35. data:
  36. mongodb:
  37. host: 172.19.103.57
  38. port: 27017
  39. username: esb
  40. password: esb
  41. authenticationDatabase: admin
  42. gridFsDatabase: dfs
  43. database: runtime
  44. aop:
  45. proxy-target-class: true
  46. hos:
  47. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  48. clientId: 0e3DIdNaQ2
  49. zbus:
  50. url: 172.19.103.37:9020
  51. filesystem:
  52. url: http://172.19.103.37:9010/dfs/file
  53. fast-dfs:
  54. tracker-server: 172.19.103.13:22122
  55. public-server: http://172.19.103.52:80
  56. jwt:
  57. header: Authorization
  58. secret: mySecret
  59. expiration: 604800
  60. tokenHead: "Bearer "
  61. eip:
  62. manageAddress: http://localhost:8080 #配置跨域
  63. ---
  64. spring:
  65. profiles: test
  66. datasource:
  67. driverClassName: com.mysql.jdbc.Driver
  68. url: jdbc:mysql://172.19.103.57:8066/hos1?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  69. username: hos
  70. password: 123456
  71. test-on-borrow: true
  72. validation-query: SELECT 1
  73. test-while-idle: true
  74. max-total: 100
  75. default-auto-commit: true
  76. max-idle: 50
  77. min-idle: 20
  78. initial-size: 10
  79. jpa:
  80. database-platform: org.hibernate.dialect.MySQL5Dialect
  81. hibernate:
  82. dialect: org.hibernate.dialect.MySQL5Dialect
  83. format-sql: true
  84. show-sql: false
  85. data:
  86. mongodb:
  87. host: 172.19.103.57
  88. port: 27017
  89. username: esb
  90. password: esb
  91. authenticationDatabase: admin
  92. gridFsDatabase: dfs
  93. database: runtime
  94. aop:
  95. proxy-target-class: true
  96. hos:
  97. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  98. clientId: 0e3DIdNaQ2
  99. zbus:
  100. url: 172.19.103.37:9020
  101. filesystem:
  102. url: http://172.19.103.37:9010/dfs/file
  103. fast-dfs:
  104. tracker-server: 172.19.103.13:22122
  105. public-server: http://172.19.103.52:80
  106. jwt:
  107. header: Authorization
  108. secret: mySecret
  109. expiration: 604800
  110. tokenHead: "Bearer "
  111. eip:
  112. manageAddress: http://172.19.103.57:8080 #配置跨域