All Downloads are FREE. Search and download functionalities are using the official Maven repository.

te.baserole-common.0.0.1.source-code.application.yml Maven / Gradle / Ivy

The newest version!
server:
  port: 8099
  servlet:
    context-path: /baserole

#spring
spring:
  main:
    allow-bean-definition-overriding: true
  redis:
    ##redis
    host: 127.0.0.1
    #    host: 127.0.0.1
    port: 6379
    password: 12345678
    database: 0
    ssl: false
    # 连接超时时间
    timeout: 10s
    lettuce:
      pool:
        # 连接池最大连接数
        max-active: 2000
        # 连接池最大阻塞等待时间(使用负值表示没有限制)
        max-wait: -1ms
        # 连接池中的最大空闲连接
        max-idle: 10
        # 连接池中的最小空闲连接
        min-idle: 0

  ##rabbitmq
  rabbitmq:
    host: 127.0.0.1
    port: 5672
    username: guest
    password: guest
  # mysql
  datasource:
    username: root
    password: 12345678
    url: jdbc:mysql://127.0.0.1:3306/base_role
    driver-class-name: com.mysql.cj.jdbc.Driver
    initial-size: 10
    max-active: 1000
    max-idle: 300
    min-idle: 10
    max-wait: 10000

  mvc:
    pathmatch:
      matching-strategy: ANT_PATH_MATCHER

sa-token:
  # jwt秘钥
  jwt-secret-key: dqqefcqcqscqfewfwe
  # 鉴权过滤路径
  ignore:
    whites:
      - /auth/**
      - /doc.html
      - /swagger-resources/**
      - /swagger-resources
      - /v3/**
      - /v2/**
      - /webjars/**
      - /sso/**
  # 同端互斥登陆
  is-concurrent: false

mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

knife4j:
  # 是否开启Knife4j增强模式
  enable: true
  # 是否开启生产环境保护策略
  production: false
  # 登录认证
  basic:
    enable: true
    username: base-role
    password: 123456
  # 前端Ui的个性化配置属性
  setting:
    # 默认语言
    language: zh-CN
    # 是否显示Footer
    enableFooter: true
    # 是否开启动态参数调试功能
    enableDynamicParameter: true
    # 是否在每个Debug调试栏后显示刷新变量按钮
    enableReloadCacheParameter: true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy