server: tomcat: uri-encoding: UTF-8 max-threads: 1000 min-spare-threads: 30 port: 8003 # mysql spring: application: name: filecenter-server datasource: url: jdbc:mysql://${kidgrow.datasource.ip}:3306/file_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: ${kidgrow.datasource.username} password: ${kidgrow.datasource.password} # driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: aop-patterns: com.kidgrow.filecenter.controller.* eureka: instance: ###注册中心ip地址 hostname: ${kidgrow.eureka.instance.hostname} instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port} prefer-ip-address: true client: serviceUrl: defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone} mybatis-plus: mapper-locations: classpath:/mapper/*.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: com.kidgrow.filecenter.model global-config: db-config: id-type: input kidgrow: # fdfs: # web-url: 192.168.28.130 # trackerList: ${kidgrow.fdfs.web-url}:22122 file-server: type: aliyun fdfs: web-url: ${kidgrow.fdfs.web-url} #oss配置 oss: # access-key: j977Ii3DODvQXzE241Z6ouW9so4Q6_6PeOPwN5UZ # accessKeySecret: W8ArRp3mr-w3n4R-lHEvSFzGdgdrYfC9wHkZlqec # endpoint: http://q68nl7reu.bkt.clouddn.com # bucketName: kidgrow # domain: kidgrow.s3-cn-east-1.qiniucs.com access-key: LTAI4FennfcwZupz3B6hkK3N accessKeySecret: NzBBGe8SS41qJlp0nA3tlJ3t74lBZM # endpoint: oss-accelerate.aliyuncs.com endpoint: kidgrow.oss-cn-beijing-internal.aliyuncs.com bucketName: kidgrow #注意加上/ http://123.kidgrow.cloud domain: / folder: kidgrow/ #oss内网访问的地址 # neiwang: kidgrow.oss-cn-beijing-internal.aliyuncs.com swagger: base-package: com.kidgrow.filecenter.controller description: 文件上传服务接口文档 enabled: true title: 文件上传服务 version: 1.0 #fdfs: # soTimeout: 1500 # connectTimeout: 600 # trackerList: ${kidgrow.fdfs.trackerList}