From f6a912c1a6a26c809568f964941fb4ad4483274e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 31 May 2021 11:19:40 +0800
Subject: [PATCH] modify
---
src/main/resources/application.yml | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index f9a22bd..99c137d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,12 +7,12 @@
profiles:
active: dev
datasource:
-# url: jdbc:mysql://rm-bp151tw8er79ig9kb5o.mysql.rds.aliyuncs.com:3306/db_biue?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
-# username: ctcoin_data
-# password: ctcoin_123
- url: jdbc:mysql://124.70.222.34:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
- username: db_hibit
- password: hibit123!@#
+ url: jdbc:mysql://154.91.195.170:3306/db_otc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ username: yd_otc
+ password: yd_otc123!@#
+# url: jdbc:mysql://120.27.238.55:3306/db_otc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+# username: ct_test
+# password: 123456
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
@@ -51,7 +51,7 @@
## redis配置
redis:
## Redis数据库索引(默认为0)
- database: 0
+ database: 2
## Redis服务器地址
host: 121.37.162.173
## Redis服务器连接端口
@@ -75,10 +75,14 @@
## 连接超时时间(毫秒)
timeout: 30000
rabbitmq:
- host: 121.37.162.173
+ host: 120.27.238.55
port: 5672
- username: hibit
- password: hibit123
+ username: ct_rabbit
+ password: 123456
+# host: 154.91.195.170
+# port: 5672
+# username: yunding
+# password: yunding123
publisher-confirm-type: correlated
@@ -95,6 +99,7 @@
app:
debug: true
+ project: otc
redis_expire: 3000
# k线更新任务控制
kline-update-job: false
@@ -107,6 +112,8 @@
loop-job: false
rabbit-consumer: false
block-job: false
+ otc-job: false
+ websocket-job: false
aliyun:
oss:
--
Gitblit v1.9.1