Helius
2021-09-07 1e4cab335b1cb68ad3438e522ea410c2d2e753ed
src/main/resources/application-test.yml
@@ -5,13 +5,24 @@
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
    username: ct_test
    password: 123456
    driver-class-name: com.mysql.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    dynamic:
      primary: master
      strict: false
      datasource:
        master:
          url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true&serverTimezone=GMT%2b8
          username: ct_test
          password: 123456
          driver-class-name: com.mysql.jdbc.Driver
          type: com.alibaba.druid.pool.DruidDataSource
        slave:
          url: jdbc:mysql://120.27.238.55:3306/db_jf?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true&serverTimezone=GMT%2b8
          username: ct_test
          password: 123456
          type: com.alibaba.druid.pool.DruidDataSource
          driver-class-name: com.mysql.jdbc.Driver
    druid:
      initial-size: ${spring_datasource_druid_initial_size:10}
      max-active: ${spring_datasource_druid_max_active:20}
@@ -48,13 +59,13 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 0
    database: 2
    ## Redis服务器地址
    host: 114.55.92.106
    host: 121.37.162.173
    ## Redis服务器连接端口
    port: 6379
    ## Redis服务器连接密码(默认为空)
    password: hibit123
    password: d32ncxe@i3#!dV
    jedis:
      pool:
        ## 连接池最大连接数(使用负值表示没有限制)
@@ -91,16 +102,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: