From 02088e66b8474128e72ef282e07e1a0701a103bd Mon Sep 17 00:00:00 2001 From: whj <1070107765@qq.com> Date: 星期一, 11 七月 2022 16:01:38 +0800 Subject: [PATCH] 整合minio --- src/main/resources/application.properties | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index de89f95..a77f810 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,6 @@ ### web server.port=8080 - ### datasource #test spring.datasource.url=jdbc:mysql://140.143.152.226:3306/job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai @@ -19,4 +18,12 @@ spring.datasource.hikari.max-lifetime=900000 spring.datasource.hikari.connection-timeout=10000 spring.datasource.hikari.connection-test-query=SELECT 1 -spring.datasource.hikari.validation-timeout=1000 \ No newline at end of file +spring.datasource.hikari.validation-timeout=1000 + +# ??????? +spring.servlet.multipart.max-file-size=50MB +# minio??????? +minio.address=http://119.28.5.249:9000 +minio.accessKey=minioadmin +minio.secretKey=minioadmin +minio.bucketName=img -- Gitblit v1.8.0