You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
3.2 KiB
YAML

server:
port: 8081
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://119.3.125.28:3306/solarenergy?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
username: root
password: Wyq@123123
servlet:
multipart:
enabled: true
# 设置单个文件大小
max-file-size: 10240MB
# 设置单次请求文件的总大小
max-request-size: 102400MB
mvc:
path match:
matching-strategy: ant_path_matcher
# redis配置
redis:
host: 1.92.75.33 #121.37.165.19 #localhost #
database: 0
port: 5179 #6379
password: Wzw@123!
# mybatis-plus配置控制台打印完整带参数SQL语句
mybatis-plus:
# mapper-locations: classpath:mappers/*.xml #只能一个地方定义mybatis中定义
type-aliases-package: com.cuit.railway.entity
configuration:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #控制台打印 mybatis log日志 org.apache.ibatis.logging.slf4j.Slf4jImpl / org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
banner: false
# minio配置
minio:
endpoint: http://1.92.75.33:8090 #http://minio:9000 #数据上传等
visitPoint: http://1.92.75.33:8090 #共享访问
accessKey: adminuser
secretKey: Hy@Minio!123
bucketName: solarenergy
knife4j:
enable: true
# GeoServer相关配置
mygeoserverconfig:
geoserverurl: http://1.92.75.33:8082/geoserver/
geoserverapiurl: http://1.92.75.33:8082/geoserver/
username: admin #adminuser
password: geoserver #Wzw@Geoserver
workspaces: cztl
geoserverpath: /opt/geoserver/data_dir/data
## 删除GeoServer配置
#DeleteGeoServerDataAndMap:
# #on或off
# onoff: on
# #保存数据的天数
# days: 30
# #工作空间
# workspace: bd
# #删除的数据类型,多个类型以”;“分隔
# dataType: 气象风险;综合风险;气象要素
#
##删除临时文件
##删除下载的历史数据(只支持目录删除)
#deleteTempFileConfig:
# #on或off true /false
# onoff: on
# #删除目录的父目录
# path: CimissFiledownload
# #相隔天数
# days: 61
# #目录 只支持 yyyymmdd yyyymm yyyy 三种形式
# pathformat: yyyymm
#log日志配置
# 说明:
# 1. 文件的命名和加载顺序有关
# logback.xml早于application.yml加载logback-spring.xml晚于application.yml加载 如果logback配置需要使用application.yml中的属性需要命名为logback-spring.xml
# 2. logback使用application.yml中的属性
# 使用springProperty才可使用application.yml中的值 可以设置默认值
ditu:
type: tianditu
shading: http://t0.tianditu.gov.cn/ter_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=d8df755c0e92e90e756f0e87cfe51408
note: http://t0.tianditu.gov.cn/cta_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cta&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=d8df755c0e92e90e756f0e87cfe51408
latlonbbox: 95.47567196468714,29.902589952988784,95.48935024103598,29.910064346919626