You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
993 B
40 lines
993 B
server:
|
|
port: 80
|
|
|
|
#device.runmode: "RealMode"
|
|
a8k.enableTemperatureCtrl: false
|
|
device.runmode: "RealMode"
|
|
|
|
iflytophald:
|
|
ip: 127.0.0.1
|
|
cmdch.port: 19004
|
|
datach.port: 19005
|
|
|
|
#hardware.canbus.url: ws://127.0.0.1:19005
|
|
|
|
logging:
|
|
file:
|
|
name: ./runenv/app.log
|
|
level:
|
|
a8k.app.hardware.basedriver: info
|
|
|
|
spring:
|
|
web:
|
|
resources:
|
|
static-locations: file:appresource/static/app/,file:appresource/static/,file:/opt/app/static/,classpath:templates/,classpath:static/
|
|
datasource:
|
|
# url: jdbc:sqlite::resource:app.db
|
|
url: jdbc:sqlite:appresource/db/app.db
|
|
driver-class-name: org.sqlite.JDBC
|
|
jackson:
|
|
serialization:
|
|
write-dates-as-timestamps: true
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /doc/api-docs
|
|
enabled: true
|
|
swagger-ui:
|
|
enabled: true # 开启swagger界面,依赖OpenApi,需要OpenApi同时开启
|
|
path: /doc/apitest.html # 自定义路径,默认为"/swagger-ui/index.html
|
|
operationsSorter: method # 接口按照方法排序
|