server:
|
tomcat:
|
uri-encoding: UTF-8
|
max-connections: 5000
|
max-http-form-post-size: 100MB
|
threads:
|
max: 2000
|
servlet:
|
context-path: /
|
|
spring:
|
application:
|
name: se-system
|
mvc:
|
static-path-pattern: /static/**
|
# redis
|
redis:
|
database: 0
|
host: 127.0.0.1
|
port: 6369
|
password: rediS_5L#F4_Server
|
# 连接超时时长(毫秒)
|
timeout: 10000
|
lettuce:
|
pool:
|
# 连接池最大连接数(使用负值表示没有限制)
|
max-active: 1000
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
max-wait: -1
|
# 连接池中的最大空闲连接
|
max-idle: 10
|
# 连接池中的最小空闲连接
|
min-idle: 5
|
# session
|
session:
|
# 20分钟
|
timeout: PT20M
|
# 设置上传文件大小
|
servlet:
|
multipart:
|
enabled: true
|
max-file-size: 204800MB
|
max-request-size: 1048576MB
|
# jackson
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
locale: zh_CN
|
thymeleaf:
|
cache: false
|
# datasource
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
#url: jdbc:postgresql://192.168.11.205:5433/jhs?useAffectedRows=true
|
url: jdbc:postgresql://127.0.0.1:5433/jhs?useAffectedRows=true
|
username: postgres
|
#password: Postgres!_14_Lf
|
password: postgres
|
driver-class-name: org.postgresql.Driver
|
platform: POSTGRESQL
|
filters: stat,wall,log4j
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
logAbandoned: true
|
# 配置连接池信息
|
druid:
|
initial-size: 5
|
min-idle: 5
|
max-active: 100
|
max-wait: 60000
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
max-pool-prepared-statement-per-connection-size: 50
|
pool-prepared-statements: true
|
validation-query: SELECT 1
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
filters: stat,wall
|
web-stat-filter:
|
enabled: true
|
stat-view-servlet:
|
enabled: true
|
url-pattern: /druid/*
|
reset-enable: false
|
login-username: admin
|
login-password: ad_!Druid!_min
|
|
mybatis-plus:
|
type-aliases-package: com.terra.system.entity
|
config-location: classpath:mybatis.xml
|
mapper-locations: classpath:mapper/**/*.xml
|
|
# logging
|
logging:
|
config: classpath:logback.xml
|
|
# RestTemplate config
|
remote:
|
maxTotalConnect: 0
|
maxConnectPerRoute: 1000
|
connectTimeout: 30000
|
readTimeout: -1
|
|
# 系统配置
|
sys:
|
# 启用swagger
|
swaggerEnable: true
|
# 自动查询
|
autoQuery: 0
|
# 管理员ID
|
admin: ad_Lf1122_min
|
# IIS的主机地址
|
iisHost: 127.0.0.1
|
# FME服务地址
|
fmeUrl: http://192.168.11.205:88/
|
# FME令牌
|
fmeToken: c36e4f94-dfde-401e-9967-2c4a449f1300
|
# 出图服务
|
exportServer: http://127.0.0.1/ExportMap
|
# Turf服务
|
turfServer: http://127.0.0.1/Turf
|
# Gdal驱动目录
|
gdal_path: E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin
|
# 瓦片地址
|
tile_path: E:\data\2d\tiles
|
path:
|
# 下载目录
|
download: D:\JHS\data\download
|
# 上传目录
|
upload: D:\JHS\data\upload
|
# 临时目录
|
temp: D:\JHS\data\temp
|
cad:
|
exePath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/Bin/MxCAD/Release/mxcadassembly.exe
|
targetPath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/SRC/TsWeb/public/data
|
# 上传附件表
|
attachTabs: bd.b_pac_hydrogeology,bd.b_pac_frozensoil
|