application.yml 1.15 KB
server:
  port: 8085
spring:
  #配置静态资源
  mvc:
    static-path-pattern: /**
  resource:
    static-locations: classpath:/static/
  #配置数据库
  datasource:
    url: jdbc:mysql://${MYSQL-HOST:127.0.0.1}:${MYSQL-PORT:3306}/${MYSQL-DB:jreport}?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
    username: yx
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
  profiles:
    active: tjserver
  influx:
    url: http://192.168.0.244:8086
    database: monitor
    retention_policy: default
    retention_policy_time: 7d
#mybatis
mybatis-plus:
  mapper-locations: classpath*:org/jeecg/modules/jmreport/**/dao/*.xml
#Minidao配置
minidao :
  base-package: org.jeecg.modules.jmreport.*
#JimuReport[上传配置]
jeecg :
  # local|minio|alioss
  uploadType: local
  # local
  path :
    #文件路径
    upload: /opt/upload
  # alioss
  oss:
    endpoint: ??
    accessKey: ??
    secretKey: ??
    bucketName: jimureport
  # minio
  minio:
    minio_url: http://minio.jeecg.com
    minio_name: ??
    minio_pass: ??
    bucketName: ??
#输出sql日志
logging:
  level:
    org.jeecg.modules.jmreport : info