application.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. status-page-url: http://localhost:${server.port}/swagger-ui.html
  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