application.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. eureka:
  50. client:
  51. serviceUrl:
  52. defaultZone: http://${eureka-server-ip}/eureka/
  53. ---
  54. spring:
  55. profiles: dev
  56. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  57. #else the server must have host map.
  58. eureka:
  59. instance:
  60. prefer-ip-address: false
  61. eureka-server-ip: 192.168.1.220:8761
  62. ---
  63. spring:
  64. profiles: test
  65. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  66. #else the server must have host map.
  67. eureka:
  68. instance:
  69. prefer-ip-address: false
  70. eureka-server-ip: 172.19.103.73:8761
  71. ---
  72. spring:
  73. profiles: prod
  74. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  75. #else the server must have host map.
  76. eureka:
  77. instance:
  78. prefer-ip-address: false
  79. eureka-server-ip: 11.1.2.21:8761