From cc8c06093b33f54b8fcdb8a18ff6ddebcbd49702 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 27 Jan 2026 17:56:33 +0800
Subject: [PATCH] config(database): 更新开发环境配置为本地服务
---
src/main/resources/application-app.yml | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/src/main/resources/application-app.yml b/src/main/resources/application-app.yml
index d1f46fa..c17156c 100644
--- a/src/main/resources/application-app.yml
+++ b/src/main/resources/application-app.yml
@@ -5,12 +5,12 @@
spring:
profiles:
- active: app
+ 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
- driver-class-name: com.mysql.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/db_exchange?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ username: db_exchange
+ password: db_exchange20260123!@#
+ driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: ${spring_datasource_druid_initial_size:10}
@@ -48,13 +48,13 @@
## redis配置
redis:
## Redis数据库索引(默认为0)
- database: 2
+ database: 0
## Redis服务器地址
- host: 47.114.114.219
+ host: 127.0.0.1
## Redis服务器连接端口
port: 6379
## Redis服务器连接密码(默认为空)
- password: biyi123
+ password: exchange1!qaz2@WSX
jedis:
pool:
## 连接池最大连接数(使用负值表示没有限制)
@@ -72,10 +72,10 @@
## 连接超时时间(毫秒)
timeout: 30000
rabbitmq:
- host: 120.55.86.146
+ host: 127.0.0.1
port: 5672
- username: biyict
- password: biyict123
+ username: exchange20260124
+ password: exchange20260124
publisher-confirm-type: correlated
@@ -91,16 +91,17 @@
app:
- debug: false
+ debug: true
redis_expire: 3000
- kline-update-job: false
+ kline-update-job: true
newest-price-update-job: false
#日线 该任务不能与最新价处于同一个服务器
day-line: false
other-job: false
- loop-job: false
- rabbit-consumer: false
+ loop-job: true
+ rabbit-consumer: true
block-job: false
+ websocket: true
aliyun:
oss:
--
Gitblit v1.9.1