From 1f0913bcc0a5fd77e771ccdfea098ca2c27cfd43 Mon Sep 17 00:00:00 2001 From: Li Haoyu Date: Thu, 5 Dec 2019 18:19:51 +0800 Subject: [PATCH] 配置文件添加; --- src/main/resources/application-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+), 0 deletions(-) create mode 100644 src/main/resources/application-test.yml diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml new file mode 100644 index 0000000..cccecb5 --- /dev/null +++ b/src/main/resources/application-test.yml @@ -0,0 +1,23 @@ +spring: + datasource: + url: jdbc:mysql://192.168.10.39:3306/sy_vehicle?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai + username: root + password: 123456 + data: + mongodb: + uri: mongodb://192.168.10.39:27017/vehicle + servlet: + multipart: + max-file-size: 20MB + max-request-size: 20MB + redis: + database: 0 + host: 192.168.10.39 + port: 6379 + jedis: + pool: + max-active: -1 + max-wait: -1ms + max-idle: 8 + min-idle: 0 + timeout: 10000ms \ No newline at end of file -- libgit2 0.21.4