# 项目端口号
server:
  port: 9090

# 当前激活配置，默认dev
spring:
  application:
    name: @artifactId@
  profiles:
    active: @profiles.active@
  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=='


# 定时任务相关

#xxl:
#  job:
#    admin:
#      addresses: http://ballcat-job:8888/xxl-job-admin # xxl-job-admin 接口地址
#    executor:
#      port: 6888 #通讯端口
#      appName: ballcat-api-job


swagger:
  title: BallCat-Api Docs
  description: BallCat 业务接口服务Api文档
  version: 0.0.1
  license: Powered By BallCat
  licenseUrl: http://www.ballcat.cn/
  terms-of-service-url: http://www.ballcat.cn/
  host: http://ballcat-api:9090
  contact:
    name: Hccake
    email: chengbohua@foxmail.com
    url: https://github.com/Hccake
  aggregator:
    origin: http://ballcat-admin:8080