From dd48d2c05e7ba09b11a3f7ccffd43c1b65ab1a9a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 18 Jan 2021 17:19:28 +0800 Subject: [PATCH] 20210118 --- src/main/resources/application.yml | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8a849c0..661e568 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,7 +4,12 @@ context-path: / spring: + 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://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 @@ -48,11 +53,11 @@ ## Redis数据库索引(默认为0) database: 1 ## Redis服务器地址 - host: 47.114.114.219 + host: 114.55.92.106 ## Redis服务器连接端口 port: 6379 ## Redis服务器连接密码(默认为空) - password: biyi123 + password: hibit123 jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -91,6 +96,24 @@ app: debug: true redis_expire: 3000 + # k线更新任务控制 + kline-update-job: false + #最新价任务控制 + newest-price-update-job: false + #日线 该任务不能与最新价处于同一个服务器 + day-line: false + #其他任务控制 + other-job: false + loop-job: false + rabbit-consumer: false + block-job: false + +aliyun: + oss: + end-point: https://oss-cn-hangzhou.aliyuncs.com + bucket-name: https://excoin.oss-cn-hangzhou.aliyuncs.com + access-key-id: LTAI4GBuydqbJ5bTsDP97Lpd + access-key-secret: vbCjQtPxABWjqtUlQfzjlA0qAY96fh rsa: public_key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCf8UFZK54AiK4PRu7tNd+Z8qZ77o/QXCnk25DRmygVpOEu5mGNSAvfnWmKp2pEV2RljeXq3Rid/+LQkonaebMJeXKSF0yxL/VgyeT8JaQ5gNbOrdfdlc+mFkXJyzyJt8YkvApEdPRNSU2ENBn7mgRfD0BYPM4vZ6/rv+de38FJwIDAQAB -- Gitblit v1.9.1