svr-ehr-basic.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. fast-dfs:
  55. tracker-server: 172.19.103.54:22122
  56. public-server: http://172.19.103.54
  57. ---
  58. spring:
  59. profiles: alpha
  60. datasource:
  61. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  62. username: ha
  63. password: ha
  64. fast-dfs:
  65. tracker-server: 172.19.103.54:22122
  66. public-server: http://172.19.103.54
  67. ---
  68. spring:
  69. profiles: test
  70. datasource:
  71. url: jdbc:mysql://172.17.110.216:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  72. username: cloud
  73. password: cloud
  74. fast-dfs:
  75. tracker-server: 172.19.103.13:22122
  76. public-server: http://172.19.103.52:80
  77. ---
  78. spring:
  79. profiles: prod
  80. datasource:
  81. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  82. username: ha
  83. password: jkzlxm
  84. fast-dfs:
  85. tracker-server: 11.1.2.9:22122
  86. public-server: http://ds.ehr.yihu.com:22122