svr-file-resource.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. logging:
  2. level:
  3. com:
  4. netflix: ERROR
  5. spring:
  6. datasource:
  7. driver-class-name: com.mysql.jdbc.Driver
  8. max-active: 20
  9. max-idle: 8
  10. min-idle: 8
  11. validation-query: SELECT 1
  12. test-on-borrow: true
  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. ---
  26. spring:
  27. profiles: dev
  28. datasource:
  29. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  30. username: ha
  31. password: ha
  32. fast-dfs:
  33. tracker-server: 172.19.103.54:22122
  34. public-server: http://172.19.103.54:22122
  35. ---
  36. spring:
  37. profiles: alpha
  38. datasource:
  39. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  40. username: ha
  41. password: ha
  42. fast-dfs:
  43. tracker-server: 172.19.103.54:22122
  44. public-server: http://172.19.103.54:22122
  45. ---
  46. spring:
  47. profiles: test
  48. datasource:
  49. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  50. username: weifuwu
  51. password: weifuwu
  52. fast-dfs:
  53. tracker-server: 172.19.103.13:22122
  54. public-server: http://172.19.103.52:80
  55. ---
  56. spring:
  57. profiles: prod
  58. datasource:
  59. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  60. username: ha
  61. password: jkzlxm
  62. fast-dfs:
  63. tracker-server: 11.1.2.9:22122
  64. public-server: http://ds.ehr.yihu.com:22122