93 lines
2.2 KiB
YAML
93 lines
2.2 KiB
YAML
|
|
# 应用服务 WEB 访问端口
|
|||
|
|
server:
|
|||
|
|
port: 9116
|
|||
|
|
servlet:
|
|||
|
|
context-path: /
|
|||
|
|
compression:
|
|||
|
|
enabled: true
|
|||
|
|
tomcat:
|
|||
|
|
connection-timeout: 18000000
|
|||
|
|
|
|||
|
|
# 应用名称
|
|||
|
|
spring:
|
|||
|
|
main:
|
|||
|
|
allow-circular-references: true
|
|||
|
|
application:
|
|||
|
|
name: skyeye-service-manager
|
|||
|
|
profiles:
|
|||
|
|
# active: dev
|
|||
|
|
config:
|
|||
|
|
activate:
|
|||
|
|
on-profile:
|
|||
|
|
- dev
|
|||
|
|
servlet:
|
|||
|
|
multipart:
|
|||
|
|
max-file-size: 200MB
|
|||
|
|
max-request-size: 500MB
|
|||
|
|
mvc:
|
|||
|
|
pathmatch:
|
|||
|
|
matching-strategy: ant-path-matcher
|
|||
|
|
quartz:
|
|||
|
|
properties:
|
|||
|
|
org.quartz.threadPool.threadCount: 20
|
|||
|
|
org.quartz.threadPool.threadPriority: 5
|
|||
|
|
org.quartz.jobStore.misfireThreshold: 60000
|
|||
|
|
|
|||
|
|
# 数据源配置
|
|||
|
|
datasource:
|
|||
|
|
url: jdbc:mysql://127.0.0.1:3306/zhangy-skyeye?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false
|
|||
|
|
username: root
|
|||
|
|
password: 'P@ssw0rd'
|
|||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|||
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|||
|
|
|
|||
|
|
jackson:
|
|||
|
|
default-property-inclusion: non_null
|
|||
|
|
date-format: yyyy-MM-dd'T'HH:mm:ss'Z'
|
|||
|
|
|
|||
|
|
#redis 配置
|
|||
|
|
redis:
|
|||
|
|
database: 0
|
|||
|
|
host: 127.0.0.1
|
|||
|
|
port: 6379
|
|||
|
|
password: 'P@ssw0rd'
|
|||
|
|
|
|||
|
|
mybatis-plus:
|
|||
|
|
mapper-locations: classpath*:mapping/**/*Mapping.xml
|
|||
|
|
global-config:
|
|||
|
|
banner: false
|
|||
|
|
db-config:
|
|||
|
|
id-type: AUTO
|
|||
|
|
table-underline: true
|
|||
|
|
configuration:
|
|||
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|||
|
|
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|||
|
|
call-setters-on-nulls: true
|
|||
|
|
# Jasypt 配置
|
|||
|
|
jasypt:
|
|||
|
|
encryptor:
|
|||
|
|
# 指定加密算法,例如 PBEWithMD5AndDES, PBEWithHMACSHA512AndAES_256 等
|
|||
|
|
algorithm: PBEWithMD5AndDES
|
|||
|
|
ld:
|
|||
|
|
file-root: "d:/1/"
|
|||
|
|
uav:
|
|||
|
|
upload: kmz
|
|||
|
|
sar:
|
|||
|
|
image:
|
|||
|
|
type: 1
|
|||
|
|
udp:
|
|||
|
|
status:
|
|||
|
|
answer-timeout: 1
|
|||
|
|
connect-timeout: 15
|
|||
|
|
py:
|
|||
|
|
ktkxUrl: http://127.0.0.1:18090/ktkx/UavPlanning/SAR
|
|||
|
|
# detectUrl: http://127.0.0.1:18091/ktkx/detect/cpu/SARCoord
|
|||
|
|
weather:
|
|||
|
|
cityCode: 101120201
|
|||
|
|
|
|||
|
|
logging:
|
|||
|
|
file:
|
|||
|
|
name: "logs/"
|
|||
|
|
level:
|
|||
|
|
com.zhangy: info
|
|||
|
|
org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler: OFF
|