server:
  port: 7777
thymeleaf:
  prefix: classpath:/templates/  #prefix:指定模板所在的目录
  check-template-location: true  #check-tempate-location: 检查模板路径是否存在
  cache: false  #cache: 是否缓存,开发模式下设置为false,避免改了模板还要重启服务器,线上设置为true,可以提高性能。
  suffix: .html
  #encoding: UTF-8
  #content-type: text/html
  mode: HTML5
spring:
  mail:
    host: smtp.qq.com
    port: 587
    username: 731829037@qq.com
    password: fmlyrgifgpgcbehg
  rabbitmq:
    host: 81.68.92.175
    password: admin
    username: admin
    port: 5672
    virtual-host: /
  main:
    allow-bean-definition-overriding: true
  datasource:
    druid:
      url: jdbc:mysql://127.0.0.1:3306/oxo_main_data?useUnicode=true&characterEncoding=UTF-8&useSSL=false
      username: root
      password: admin!@#123
      initial-size: 8
      min-idle: 1
      max-active: 20
      max-wait: 60000
      time-between-eviction-runsMillis: 60000
      min-evictable-idle-timeMillis: 300000
      validation-query: select 'x' FROM DUAL
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      pool-prepared-statements: true
      max-open-prepared-statements: 20
      max-pool-prepared-statement-per-connection-size: 20
      filters: stat
      connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
      use-global-data-source-stat: true
  type: com.alibaba.druid.pool.DruidDataSource
  profiles:
    active: @activatedProperties@
  application:
    name: timer-task-order
  cloud:
    nacos:
      discovery:
        server-addr: ${nacos.ip}:8848
ribbon:
  ConnectTimeout: 50000
  ReadTimeout: 50000
hystrix:
  command:
    default:
      execution:
        timeout:
          enabled: false
feign:
  hystrix:
    enabled: true
#nacos部署地址
nacos:
  ip: 81.68.92.175

#nacos日志等级

logging:
  level:
    com.alibaba.nacos.client.naming: error

xxl:
  job:
    executor:
      logpath: /data/applogs/xxl-job/jobhandler
      appname: xxl-job-executor-sample
      port: 9999
      logretentiondays: -1
      ip:
    admin:
      addresses: http://127.0.0.1:7008/xxl-job-admin
    accessToken:
---
spring:
  profiles: dev-line
  cloud:
    nacos:
      discovery:
        #部署服务器公网地址
        ip: 81.68.92.175
        weight: 90