Showing
1 changed file
with
2 additions
and
8 deletions
... | ... | @@ -1191,14 +1191,8 @@ management: |
1191 | 1191 | include: '${METRICS_ENDPOINTS_EXPOSE:info}' |
1192 | 1192 | file: |
1193 | 1193 | storage: |
1194 | - type: ${FILE_STORAGE_TYPE:minio} #local, minio, or other to be implemented | |
1195 | - randomFileName: ${FILE_STORAGE_FILENAME:true} #是否重命名文件名字,防止冲突 | |
1196 | - local: | |
1197 | - uploadDir: ${FILE_LOCAL_UPLOAD_DIR:/var/thingskit/upload/} #文件上传地址 只有type = local需要 | |
1198 | - downloadPath: ${FILE_LOCAL_DOWN_PATH:/download_file/} #与controller里面下载文件GetMapping的path一致, 只有type = local需要 | |
1199 | - uploadPath: ${FILE_LOCAL_UPLOAD_PATH:/upload} #与controller里面下载文件GetMapping的path一致, 只有type = local需要 | |
1200 | - staticUrl: ${FILE_LOCAL_STATIC_URL:/static/files/**} #oss静态访问路径 只有type = local需要 | |
1201 | - randomFileName: ${file.storage.randomFileName} | |
1194 | + type: ${FILE_STORAGE_TYPE:minio} #minio, or other to be implemented | |
1195 | + randomFileName: ${FILE_STORAGE_FILENAME:true} #是否重命名文件名字,防止冲突 | |
1202 | 1196 | minio: |
1203 | 1197 | minioUrl: ${MINIO_URL:http://127.0.0.1:9000} #minio储存地址 |
1204 | 1198 | minioName: ${MINIO_NAME:xxxxxx} #minio账户 | ... | ... |