svr-health-profile.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. info:
  2. app:
  3. name: SVR-HEALTH-PROFILE
  4. description: EHR Platform Microservice.
  5. version: 1.0.0
  6. spring:
  7. # REDIS
  8. redis:
  9. database: 0 # Database index used by the connection factory.
  10. timeout: 0 # Connection timeout in milliseconds.
  11. #sentinel:
  12. # master: # Name of Redis server.
  13. # nodes: # Comma-separated list of host:port pairs.
  14. pool:
  15. 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.
  16. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  17. 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.
  18. 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.
  19. datasource:
  20. driver-class-name: com.mysql.jdbc.Driver
  21. max-active: 20
  22. max-idle: 8
  23. min-idle: 8
  24. validation-query: SELECT 1
  25. test-on-borrow: true
  26. application:
  27. id: JKZL
  28. fast-dfs:
  29. connect-timeout: 10
  30. network-timeout: 60
  31. charset: ISO8859-1
  32. pool:
  33. init-size: 5
  34. max-size: 20
  35. wait-time: 500
  36. http:
  37. tracker-http-port: 80
  38. anti-steal-token: no
  39. secret-key: FastDFS1234567890
  40. eip:
  41. tenant: jkzl
  42. ---
  43. spring:
  44. profiles: dev
  45. datasource:
  46. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  47. username: chenweishan
  48. password: chenweishan
  49. redis:
  50. host: 172.19.103.47
  51. port: 6379
  52. password: redis!@456
  53. fast-dfs:
  54. tracker-server: 172.19.103.13:22122
  55. public-server: http://172.19.103.52:80
  56. ---
  57. spring:
  58. profiles: prod
  59. datasource:
  60. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  61. username: chenweishan
  62. password: chenweishan
  63. redis:
  64. host: 172.19.103.47
  65. port: 6379
  66. password: redis!@456
  67. fast-dfs:
  68. tracker-server: 172.19.103.13:22122
  69. public-server: http://172.19.103.52:80