From 49e14ea270bd71c7ba923d6e6d4f5b16f46adfa2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 25 Oct 2022 17:07:51 +0800
Subject: [PATCH] 20221021
---
src/main/resources/application-prod.yml | 62 +++++++++++++++++++++----------
1 files changed, 42 insertions(+), 20 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index 8ff710a..ebbad06 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -15,33 +15,55 @@
datasource:
# 数据源-1,名称为 base
base:
- username: sys_dapp
- password: sys_dapp!@#123
+ username: ct_test
+ password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/sys-dapp?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b9
+ url: jdbc:mysql://120.27.238.55:3306/db_igt?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+# base:
+# username: db_tfc
+# password: tfc123!@#
+# driver-class-name: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://127.0.0.1:3306/db_tfc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+ ## redis配置
redis:
- # Redis数据库索引(默认为 0)
- database: 0
- # Redis服务器地址
+ ## Redis数据库索引(默认为0)
+ database: 5
+ ## Redis服务器地址
host: 127.0.0.1
- # Redis服务器连接端口
+ ## Redis服务器连接端口
port: 6379
- # Redis 密码
- password: dapp!@#123
- lettuce:
+ ## Redis服务器连接密码(默认为空)
+ password: ann123!@#
+ jedis:
pool:
- # 连接池中的最小空闲连接
+ ## 连接池最大连接数(使用负值表示没有限制)
+ #spring.redis.pool.max-active=8
+ max-active: 300
+ ## 连接池最大阻塞等待时间(使用负值表示没有限制)
+ #spring.redis.pool.max-wait=-1
+ max-wait: -1
+ ## 连接池中的最大空闲连接
+ #spring.redis.pool.max-idle=8
+ max-idle: 100
+ ## 连接池中的最小空闲连接
+ #spring.redis.pool.min-idle=0
min-idle: 8
- # 连接池中的最大空闲连接
- max-idle: 500
- # 连接池最大连接数(使用负值表示没有限制)
- max-active: 2000
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: 10000
- # 连接超时时间(毫秒)
- timeout: 5000
+ ## 连接超时时间(毫秒)
+ timeout: 30000
+ rabbitmq:
+ host: 127.0.0.1
+ port: 5672
+ username: abc_user
+ password: abc123
+ publisher-confirm-type: correlated
jackson:
date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT+9
+ time-zone: GMT+8
+
+system:
+ online-transfer: false
+ chain-listener: false
+ trade-job: true
+ block-job: true
\ No newline at end of file
--
Gitblit v1.9.1