server:
  port: 8080

spring:
  application:
    name: @artifactId@
  profiles:
    active: @profiles.active@  # 当前激活配置，默认dev
  boot:
    admin:
      client:
        url: http://ballcat-monitor:9999
        username: admin
        password: 123456

# 暴露监控端口
management:
  endpoints:
    web:
      exposure:
        include: '*'

# mybatis-plus相关配置
mybatis-plus:
  mapper-locations: classpath:/mapper/*Mapper.xml
  global-config:
    banner: false
    db-config:
      id-type: auto
      field-strategy: NOT_EMPTY

# 密码加解密密钥
password:
  secret-key: '==BallCat-Auth=='

# 监控加解密密钥
monitor:
  secret-id: 'ballcat-monitor'
  secret-key: '=BallCat-Monitor'


# 定时任务相关配置
xxl:
  job:
    admin:
      addresses: http://ballcat-job:8888/xxl-job-admin # xxl-job-admin 接口地址
    executor:
      port: 8081 #通讯端口
      appName: ballcat-admin-job


swagger:
  title: BallCat-Admin Docs
  group-name: ballcat-admin
  description: BallCat 后台管理服务Api文档
  version: 0.0.1
  license: Powered By BallCat
  licenseUrl: http://www.ballcat.cn/
  terms-of-service-url: http://www.ballcat.cn/
  contact:
    name: Hccake
    email: chengbohua@foxmail.com
    url: https://github.com/Hccake
  authorization:
    name: BallCat OAuth
    auth-regex: ^.*$
    authorization-scope-list:
      - scope: server
        description: server all
    token-url-list:
      - http://ballcat-admin:8080/oauth/token
  provider:
    resources:
      - {name: ballcat-api,  url: http://ballcat-api:9090/v2/api-docs, swagger-version: 2.0}