svr-org.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. spring:
  10. # REDIS
  11. redis:
  12. database: 0 # Database index used by the connection factory.
  13. port: 6379 # Redis server port.
  14. password: # Login password of the redis server.
  15. timeout: 0 # Connection timeout in milliseconds.
  16. #sentinel:
  17. # master: # Name of Redis server.
  18. # nodes: # Comma-separated list of host:port pairs.
  19. pool:
  20. 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.
  21. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  22. 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.
  23. 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.
  24. datasource:
  25. driver-class-name: com.mysql.jdbc.Driver
  26. max-active: 20
  27. max-idle: 8
  28. min-idle: 8
  29. validation-query: SELECT 1
  30. test-on-borrow: true
  31. fast-dfs:
  32. pool:
  33. init-size: 5
  34. max-size: 20
  35. wait-time: 500
  36. connect-timeout: 2
  37. network-timeout: 30
  38. charset: ISO8859-1
  39. http:
  40. tracker-http-port: 80
  41. anti-steal-token: no
  42. secret-key: FastDFS1234567890
  43. ---
  44. spring:
  45. profiles: dev
  46. datasource:
  47. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  48. username: ha
  49. password: ha
  50. redis:
  51. host: 192.168.1.220 # Redis server host.
  52. ldap:
  53. host: 172.19.103.87
  54. port: 389
  55. bindDn: cn=admin,dc=ehr,dc=jkzl
  56. password: jkzl
  57. root: dc=ehr,dc=jkzl
  58. fast-dfs:
  59. tracker-server: 172.19.103.54:22122
  60. public-server: http://172.19.103.54:22122
  61. password: ha
  62. ---
  63. spring:
  64. profiles: alpha
  65. datasource:
  66. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  67. username: ha
  68. password: ha
  69. redis:
  70. host: 192.168.1.220 # Redis server host.
  71. fast-dfs:
  72. tracker-server: 172.19.103.54:22122
  73. public-server: http://172.19.103.54:22122
  74. ---
  75. spring:
  76. profiles: test
  77. datasource:
  78. url: jdbc:mysql://172.19.103.38:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  79. username: cloud
  80. password: cloud
  81. redis:
  82. host: 172.19.103.47 # Redis server host.
  83. ldap:
  84. host: 172.19.103.87
  85. port: 389
  86. bindDn: cn=admin,dc=ehr,dc=jkzl
  87. password: jkzl
  88. root: dc=ehr,dc=jkzl
  89. fast-dfs:
  90. tracker-server: 172.19.103.13:22122
  91. public-server: http://172.19.103.52:80
  92. ---
  93. spring:
  94. profiles: prod
  95. redis:
  96. host: 11.1.2.20 # Redis server host.
  97. datasource:
  98. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  99. username: ha
  100. password: jkzlxm
  101. ldap:
  102. host: 172.19.103.87
  103. port: 389
  104. bindDn: cn=admin,dc=ehr,dc=jkzl
  105. password: jkzl
  106. root: dc=ehr,dc=jkzl
  107. fast-dfs:
  108. tracker-server: 11.1.2.9:22122
  109. public-server: http://ds.ehr.yihu.com:22122