From 147150ecbff1bcdc87fef93c1dff8f5bfc7c7ebe Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Mon, 21 Feb 2022 17:02:04 +0800
Subject: [PATCH] dockerfile 修改
---
src/main/resources/application-dev.yml | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 60294bd..4d72b61 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -13,13 +13,9 @@
# commandTimeout: 5000
datasource:
# MySql
-# url: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
-# username: root
-# password: zhba0728
-
- url: jdbc:mysql://223.82.109.183:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
- password: zhba0728
+ password: ZHba@0112
# PostgreSQL
#url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -37,11 +33,24 @@
#图片批量上传zip
upload:
-# localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
- localtion: ${UPLOAD_DIR:D:/test}
+ localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
maxFileSize: 10240KB
maxRequestSize: 102400KB
+#ftp 设置
+ftp:
+ sqlConnect: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ ftpHost: 172.19.1.30
+ ftpPort: 21
+ ftpUserName: yly
+ ftpPassword: Yly@123
+ ftpPath: yly/anbao/
+ localPath: /home/zhongsong/anbao/
+ ip: http://47.49.36.190:9000
+ jsonUrl: /home/zhongsong/anbao/
+ username: root
+ password: ZHba@0112
+
#第三方登陆
social:
enabled: true
--
Gitblit v1.9.3