application.yml 2.9 KB

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