application.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. spring:
  2. application:
  3. name: file-server
  4. security:
  5. user:
  6. name: admin
  7. password: select111***
  8. rabbitmq:
  9. host: 10.10.100.166
  10. port: 5672
  11. virtual-host: school
  12. username: school
  13. password: select123***
  14. zipkin:
  15. sender:
  16. type: rabbit
  17. locator:
  18. discovery:
  19. enabled: true
  20. sleuth:
  21. sampler:
  22. probability: 1.0
  23. datasource:
  24. driver-class-name: com.mysql.cj.jdbc.Driver
  25. url: jdbc:mysql://10.10.100.166:3306/smart_campus?characterEncoding=utf-8&useSSL=false
  26. username: root
  27. password: select111***
  28. hikari:
  29. minimum-idle: 5
  30. maximum-pool-size: 50
  31. idle-timeout: 30000
  32. max-lifetime: 1800000
  33. connection-timeout: 30000
  34. messages:
  35. basename: i18n/messages
  36. redis:
  37. host: 10.10.100.166
  38. port: 6379
  39. jackson:
  40. date-format: yyyy-MM-dd HH:mm:ss
  41. time-zone: GMT+8
  42. profiles:
  43. active: dev
  44. eureka:
  45. instance:
  46. leaseRenewalIntervalInSeconds: 10
  47. health-check-url-path: /actuator/health
  48. status-page-url-path: /actuator/info
  49. prefer-ip-address: true
  50. metadata-map:
  51. user.name: ${spring.security.user.name}
  52. user.password: ${spring.security.user.password}
  53. client:
  54. registryFetchIntervalSeconds: 5
  55. serviceUrl:
  56. defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@10.1.81.61:8510/eureka/
  57. server:
  58. port: 9540
  59. tomcat:
  60. uri-encoding: UTF-8
  61. management:
  62. endpoints:
  63. web:
  64. exposure:
  65. include: "*"
  66. endpoint:
  67. health:
  68. show-details: always
  69. shutdown:
  70. enabled: true
  71. restart:
  72. enabled: true
  73. info:
  74. name: 'file-server'
  75. description: 'smartschool-platform'
  76. version: '1.0.0-SNAPSHOT'
  77. spring-boot-version: '2.0.4.RELEASE'
  78. spring-cloud-version: 'Finchley.SR1'
  79. mybatis:
  80. type-aliases-package: com.usoftchina.smartschool.file.po
  81. mapper-locations: classpath:mapper/*.xml
  82. auth:
  83. public-key: auth/pub.key
  84. fdfs:
  85. so-timeout: 1500
  86. connect-timeout: 600
  87. thumb-image:
  88. width: 150
  89. height: 150
  90. tracker-list:
  91. - 10.1.81.1:22122
  92. file:
  93. base-url: http://10.1.81.1:8888/