From 1410c2c53a44f66a3dd06b5fc3d9e8152a1d4bf1 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 15 Jun 2021 16:32:41 +0800 Subject: [PATCH] modify --- src/main/resources/application.yml | 44 ++++++++++++++++++++++++++++++++++++++------ 1 files changed, 38 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 820acc1..93780de 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,10 +4,12 @@ context-path: / spring: + profiles: + active: dev datasource: - 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 + url: jdbc:mysql://154.91.195.155:3306/db_gbz?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 + username: db_gbz + password: db_gbz123!@# driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: @@ -46,13 +48,13 @@ ## redis配置 redis: ## Redis数据库索引(默认为0) - database: 1 + database: 0 ## Redis服务器地址 - host: 47.114.114.219 + host: 154.91.195.155 ## Redis服务器连接端口 port: 6379 ## Redis服务器连接密码(默认为空) - password: biyi123 + password: ann123!@# jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -69,6 +71,21 @@ min-idle: 8 ## 连接超时时间(毫秒) timeout: 30000 + rabbitmq: + host: 154.91.195.155 + port: 5672 + username: abc_user + password: abc123 + publisher-confirm-type: correlated + + +#custom: +# rabbitmq: +# host: 120.27.238.55 +# port: 5672 +# username: ct_rabbit +# password: 123456 + mybatis-plus: mapper-locations: classpath:mapper/**/*.xml @@ -76,6 +93,21 @@ app: debug: true redis_expire: 3000 + kline-update-job: false + newest-price-update-job: false + exchange-trade: 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