From 0d30c93d000413c6eb34f489ef17688ad4175201 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 29 Apr 2024 18:18:21 +0800 Subject: [PATCH] 55测试环境 --- src/main/resources/application-test.yml | 26 +++++++++++++++++++------- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 4f58f05..6ca87c6 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -5,9 +5,12 @@ spring: profiles: - active: dev + active: test datasource: - url: jdbc:mysql://120.27.238.55:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 + # 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://120.27.238.55:3406/db_otc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.jdbc.Driver @@ -48,13 +51,13 @@ ## redis配置 redis: ## Redis数据库索引(默认为0) - database: 0 + database: 11 ## Redis服务器地址 - host: 114.55.92.106 + host: 120.27.238.55 ## Redis服务器连接端口 - port: 6379 + port: 6479 ## Redis服务器连接密码(默认为空) - password: hibit123 + password: d3y6dsdl;f.327 jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -91,16 +94,25 @@ app: - debug: false + debug: true redis_expire: 3000 + # k线更新任务控制 kline-update-job: false + #最新价任务控制 newest-price-update-job: true #日线 该任务不能与最新价处于同一个服务器 day-line: true + #其他任务控制 other-job: true loop-job: true rabbit-consumer: false block-job: true + otc-job: true + +file: + storage: + path: /home/javaweb/webresource/images + url: http://120.27.238.55:8000/images/ aliyun: oss: -- Gitblit v1.9.1