Showing
1 changed file
with
8 additions
and
8 deletions
... | ... | @@ -1191,24 +1191,24 @@ management: |
1191 | 1191 | include: '${METRICS_ENDPOINTS_EXPOSE:info}' |
1192 | 1192 | file: |
1193 | 1193 | storage: |
1194 | - type: minio #local, minio, or other to be implemented | |
1195 | - randomFileName: true #是否重命名文件名字,防止冲突 | |
1194 | + type: ${FILE_STORAGE_TYPE:minio} #local, minio, or other to be implemented | |
1195 | + randomFileName: ${FILE_STORAGE_FILENAME:true} #是否重命名文件名字,防止冲突 | |
1196 | 1196 | local: |
1197 | - uploadDir: /Users/thingskit/upload/ #文件上传地址 只有type = local需要 | |
1198 | - downloadPath: /download_file/ #与controller里面下载文件GetMapping的path一致, 只有type = local需要 | |
1199 | - uploadPath: /upload #与controller里面下载文件GetMapping的path一致, 只有type = local需要 | |
1200 | - staticUrl: /static/files/** #oss静态访问路径 只有type = 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 | 1201 | randomFileName: ${file.storage.randomFileName} |
1202 | 1202 | minio: |
1203 | 1203 | minioUrl: ${MINIO_URL:http://127.0.0.1:9000} #minio储存地址 |
1204 | 1204 | minioName: ${MINIO_NAME:xxxxxx} #minio账户 |
1205 | 1205 | minioPass: ${MINIO_PWD:xxxxx} #minio访问密码 |
1206 | - bucketName: yunteng-test #minio储存桶名称 | |
1206 | + bucketName: ${MINIO_BUCKET_NAME:yunteng-test} #minio储存桶名称 | |
1207 | 1207 | randomFileName: ${file.storage.randomFileName} |
1208 | 1208 | account: |
1209 | 1209 | info: |
1210 | 1210 | emailSuffix: ${ACCOUNT_EMAIL_SUFFIX:thingskit.com} |
1211 | - defaultPassword: 123456 | |
1211 | + defaultPassword: ${ACCOUNT_DEFAULT_PWD:123456} | |
1212 | 1212 | reset: ${ACCOUNT_PASSWORD_FORCE_RESET:true} |
1213 | 1213 | third: |
1214 | 1214 | wechat: | ... | ... |