application.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10180
  2. svr-adaption.server.port: 10150
  3. svr-app.server.port: 10160
  4. svr-dict.server.port: 10050
  5. svr-esb.server.port: 10130
  6. svr-geography.server.port: 10090
  7. svr-health-profiles.server.port: 9009
  8. svr-organization.server.port: 10070
  9. svr-pack-mgr.server.port: 10140
  10. svr-pack-resolve.server.port: 10170
  11. svr-patient.server.port: 10100
  12. svr-security.server.port: 10110
  13. svr-special-dict.server.port: 10180
  14. svr-standard.server.port: 10040
  15. svr-user.server.port: 10120
  16. ag-ehr-platform.server.port: 443
  17. ag-admin.server.port: 10000
  18. #Application error definition, this file define common errors,
  19. #if the error is used only in your application, please define it in your application configuration file.
  20. ehr.common.invalid.parameter: 参数解析错误
  21. ehr.common.query.not.found: 不存在该对象
  22. ehr.common.repeat.code: 代码重复
  23. #The region code, where application deployed
  24. deploy:
  25. region: 3502
  26. #EHR platform user default password
  27. default:
  28. password: 123456
  29. #Application acuator
  30. endpoints:
  31. restart:
  32. enabled: true
  33. shutdown:
  34. enabled: true
  35. health:
  36. sensitive: false
  37. #JPA config for MySQL
  38. spring:
  39. jpa:
  40. database-platform: org.hibernate.dialect.MySQL5Dialect
  41. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  42. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  43. cloud:
  44. inetutils:
  45. ignoredInterfaces:
  46. - docker0
  47. - veth.*
  48. - vmnet.*
  49. #Each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip"
  50. eureka:
  51. instance:
  52. prefer-ip-address: true
  53. client:
  54. serviceUrl:
  55. defaultZone: http://${eureka-server-ip}/eureka/
  56. ---
  57. spring:
  58. profiles: dev
  59. eureka-server-ip: 192.168.1.220:8761
  60. ---
  61. spring:
  62. profiles: test
  63. eureka-server-ip: 172.19.103.73:8761
  64. ---
  65. spring:
  66. profiles: prod
  67. eureka-server-ip: 11.1.2.21:8761