techhero-component-oss-local.yml 1.19 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
spring:
  profiles: local
  http:
    multipart:
      enabled: true
      max-file-size: 100MB
      max-request-size: 100MB
  redis:
    database: 10
    host: test-env
    port: 6379
    password: techhero
    timeout: 0
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
      initial-size: 1
      max-active: 20
      min-idle: 3
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: oss
      datasource:
        oss:
          url: jdbc:mysql://dev-env:33060/oss_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
          username: root
          password: techhero
          driver-class-name: com.mysql.cj.jdbc.Driver

fdfs:
  # 链接超时
  connect-timeout: 6000
  # 读取时间
  so-timeout: 6000
  # 生成缩略图参数
  thumb-image:
    width: 150
    height: 150
  tracker-list: 192.168.0.163:22122
  webServerUrl: http://172.18.3.219:80
  groupName: group1
  file:
    path: /data/file
    tempPath: /data/file/temp