# 日志 logging: path: /data/logFiles/lanbase # 系统 sys: # 上传文件存储目录 uploadPath: /data/uploadFiles/lanbase/ uploadUeditorPath: http://192.168.20.106:8081/uploadFile/ loginUrl: http://192.168.20.106:8081/login #登录service url casHost: http://192.168.20.106:8088/cas/ #cas登录域名 currentSystemId: 1 #当前系统id #写入日志表 log: app-id: 1 app-full-name: 时空大数据平台 # api接口模块,是通过jwt认证的,如果要使用api模块,则需要修改【加密秘钥】 jwt: header: token # 加密秘钥 secret: f4e2e52034348f86b67cde581c0f9eb5[lanbase] # token有效时长,单位秒 expire: 86400 # swagger开关 swagger: open: true basePackage: com.landtool.lanbase.modules.api # Tomcat server: tomcat: uri-encoding: UTF-8 max-threads: 1000 min-spare-threads: 30 port: 8081 security: basic: enabled: false spring: # 环境 dev|test|pro profiles: active: dev # jackson时间格式化 jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss http: multipart: max-file-size: 100MB max-request-size: 100MB enabled: true # 指定静态资源的路径 resources: static-locations: classpath:/static/,classpath:/views/ #资源缓存时间,单位秒 #cache-period:604800 #chain: #gzipped: ture #cache:ture redis: open: true # 是否开启redis缓存 true开启 false关闭 database: 0 host: 192.168.20.106 port: 6379 timeout: 6000 # 连接超时时长(毫秒) pool: max-active: 1000 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 10 # 连接池中的最大空闲连接 min-idle: 5 # 连接池中的最小空闲连接 # Mybatis配置 mybatis: mapperLocations: classpath:mapper/**/*.xml configuration: mapUnderscoreToCamelCase: true # 驼峰转换 management: server: port: 8089 servlet: context-path: /actuator endpoint: health: show-details: always security: enabled: false endpoints: web: exposure: include: '*' exclude: env,beans