application.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. #log level
  2. s:
  3. s1: 1
  4. logging:
  5. level:
  6. org:
  7. apache:
  8. zookeeper: WARN
  9. hadoop: WARN
  10. hibernate: ERROR
  11. #set max http header size
  12. server:
  13. tomcat:
  14. max-http-header-size: 100000
  15. #The region code, where application deployed
  16. deploy:
  17. region: 3502
  18. #EHR platform user default password
  19. default:
  20. password: 123456
  21. #Actuator
  22. management:
  23. security:
  24. enabled: false
  25. #Hystrix
  26. hystrix:
  27. command:
  28. default:
  29. execution:
  30. isolation:
  31. thread:
  32. timeoutInMilliseconds: 305000
  33. #Ribbon
  34. ribbon:
  35. ReadTimeout: 300000
  36. ConnectTimeout: 5000
  37. #Zuul
  38. zuul:
  39. #max:
  40. # host:
  41. # connections: 500
  42. host:
  43. socket-timeout-millis: 300000
  44. connect-timeout-millis: 300000
  45. #Application error definition, this file define common errors,
  46. #if the error is used only in your application, please define it in your application configuration file.
  47. #ehr.common.invalid.parameter: 参数解析错误
  48. #ehr.common.query.not.found: 不存在该对象
  49. #ehr.common.repeat.code: 代码重复
  50. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  51. ag-admin.server.port: 10000
  52. ag-cloud.server.port: 10400
  53. ag-zuul.server.port: 10001
  54. svr-basic.server.port: 10300
  55. svr-dfs.server.port: 10770
  56. svr-health-profile.server.port: 9009
  57. svr-pack-analyzer.server.port: 10340
  58. svr-pack-mgr.server.port: 10140
  59. svr-pack-resolve.server.port: 10170
  60. svr-quota.server.port: 10330
  61. svr-redis.server.port: 10310
  62. svr-redis-memory.server.port: 10311
  63. svr-resource.server.port: 10220
  64. svr-standard.server.port: 10040
  65. svr-authentication.server.port: 10260
  66. svr-data-analyze.server.port: 10350
  67. #Application acuator
  68. endpoints:
  69. restart:
  70. enabled: true
  71. shutdown:
  72. enabled: true
  73. health:
  74. sensitive: false
  75. spring:
  76. jmx:
  77. enabled: false
  78. jpa:
  79. database-platform: org.hibernate.dialect.MySQL5Dialect
  80. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  81. show-sql: false
  82. #session:
  83. #store-type: none
  84. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  85. cloud:
  86. inetutils:
  87. ignoredInterfaces:
  88. - docker0
  89. - veth.*
  90. - vmnet.*
  91. - TAP-Win.*
  92. - Software Loopback.*
  93. - .*VPN.*
  94. - .*Virtual.*
  95. - .*Debug.*
  96. eureka:
  97. client:
  98. serviceUrl:
  99. defaultZone: http://${eureka-server-ip}/eureka/
  100. healthcheck:
  101. enabled: false
  102. ---
  103. spring:
  104. profiles: dev
  105. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  106. #else the server must have host map.
  107. eureka:
  108. instance:
  109. prefer-ip-address: false
  110. eureka-server-ip: 172.19.103.73:8761
  111. ---
  112. spring:
  113. profiles: prod
  114. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  115. #else the server must have host map.
  116. eureka:
  117. instance:
  118. prefer-ip-address: false
  119. eureka-server-ip: 172.19.103.73:8761