From 3b90a0b0280b08100dcba995f973a86bcbf424b6 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 01 Jun 2022 10:28:37 +0800
Subject: [PATCH] 测试修改
---
src/main/resources/application-prod.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 48 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index fab7885..6fdc4a9 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -2,10 +2,11 @@
spring:
redis:
##redis 单机环境配置
- ##将docker脚本部署的redis服务映射为宿主机ip
- ##生产环境推荐使用阿里云高可用redis服务并设置密码
- host: 127.0.0.1
- port: 6379
+ # host: 127.0.0.1
+ # port: 6379
+
+ host: 192.168.90.24
+ port: 6382
password:
database: 0
ssl: false
@@ -14,9 +15,49 @@
# nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
# commandTimeout: 5000
datasource:
- url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ # MySql
+ #
+ url: jdbc:mysql://36.134.81.48:3306/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
- password: root
+ password: jfpt123
+
+ # url: jdbc:mysql://61.131.136.25:2083/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
+ # username: root
+ # password: ZHba@0112
+
+ # url: jdbc:mysql://localhost:2083/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
+ # username: root
+ # password: ZHba@0112
+
+ # url: jdbc:mysql://36.134.81.48:3306/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
+ # username: root
+ # password: jfpt123
+
+
+ # PostgreSQL
+ #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
+ #username: postgres
+ #password: 123456
+ # Oracle
+ #url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
+ #username: BLADEX_BOOT
+ #password: BLADEX_BOOT
+ # SqlServer
+ #url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=bladex_boot
+ #username: bladex_boot
+ #password: bladex_boot
+
+#ftp 设置
+ftp:
+ sqlConnect: jdbc:mysql://36.134.81.48:3306/qfqkpublic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+ ftpHost: 117.40.91.118
+ ftpPort: 21
+ ftpUserName: zhbain
+ ftpPassword: zhbain@123
+ ftpPath: yly/qfqk/
+ localPath: /home/zhongsong/qfqk/
+ ip: http://47.49.21.216:9000
+ jsonUrl: /home/zhongsong/qfqk/
#第三方登陆
social:
@@ -29,10 +70,8 @@
lock:
##是否启用分布式锁
enabled: false
- ##将docker脚本部署的redis服务映射为宿主机ip
- ##生产环境推荐使用阿里云高可用redis服务并设置密码
+ ##redis服务地址
address: redis://127.0.0.1:6379
- password: 123456
#本地文件上传
file:
remote-mode: true
--
Gitblit v1.9.3