application.yml 1.9 KB

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