svr-ehr-basic.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. server:
  10. port: ${svr-ehr-basic.server.port}
  11. management:
  12. port: ${server.port}
  13. fast-dfs:
  14. pool:
  15. init-size: 5
  16. max-size: 20
  17. wait-time: 500
  18. connect-timeout: 2
  19. network-timeout: 30
  20. charset: ISO8859-1
  21. http:
  22. tracker-http-port: 80
  23. anti-steal-token: no
  24. secret-key: FastDFS1234567890
  25. spring:
  26. datasource:
  27. driver-class-name: com.mysql.jdbc.Driver
  28. max-active: 20
  29. max-idle: 8
  30. min-idle: 8
  31. validation-query: SELECT 1
  32. test-on-borrow: true
  33. # REDIS
  34. redis:
  35. database: 0 # Database index used by the connection factory.
  36. port: 6379 # Redis server port.
  37. password: # Login password of the redis server.
  38. timeout: 0 # Connection timeout in milliseconds.
  39. #sentinel:
  40. # master: # Name of Redis server.
  41. # nodes: # Comma-separated list of host:port pairs.
  42. pool:
  43. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  44. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  45. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  46. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  47. ---
  48. spring:
  49. profiles: dev
  50. datasource:
  51. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  52. username: ha
  53. password: ha
  54. data:
  55. mongodb:
  56. host: 172.19.103.57
  57. port: 27017
  58. username: esb
  59. password: esb
  60. authenticationDatabase: admin
  61. database: wlyy
  62. fast-dfs:
  63. tracker-server: 172.19.103.54:22122
  64. public-server: http://172.19.103.54:22122
  65. ---
  66. spring:
  67. profiles: alpha
  68. datasource:
  69. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  70. username: ha
  71. password: ha
  72. fast-dfs:
  73. tracker-server: 172.19.103.54:22122
  74. public-server: http://172.19.103.54
  75. ---
  76. spring:
  77. profiles: test
  78. datasource:
  79. url: jdbc:mysql://172.19.103.50:3306/healtharchive_220?useUnicode=true&characterEncoding=UTF-8
  80. username: weifuwu
  81. password: weifuwu
  82. data:
  83. mongodb:
  84. host: 172.19.103.57
  85. port: 27017
  86. username: esb
  87. password: esb
  88. authenticationDatabase: admin
  89. database: wlyy
  90. fast-dfs:
  91. tracker-server: 172.19.103.13:22122
  92. public-server: http://172.19.103.52:80
  93. ---
  94. spring:
  95. profiles: prod
  96. datasource:
  97. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  98. username: ha
  99. password: jkzlxm
  100. fast-dfs:
  101. tracker-server: 11.1.2.9:22122
  102. public-server: http://ds.ehr.yihu.com:22122