2021-02-20 10:07:25 +08:00
|
|
|
spring.application.name=dataease
|
|
|
|
|
|
|
|
server.port=8081
|
|
|
|
|
|
|
|
# Hikari
|
|
|
|
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
|
|
|
spring.datasource.hikari.minimum-idle=5
|
|
|
|
spring.datasource.hikari.maximum-pool-size=15
|
|
|
|
spring.datasource.hikari.auto-commit=true
|
|
|
|
spring.datasource.hikari.idle-timeout=30000
|
|
|
|
spring.datasource.hikari.pool-name=DatebookHikariCP
|
|
|
|
spring.datasource.hikari.max-lifetime=1800000
|
|
|
|
spring.datasource.hikari.connection-timeout=30000
|
|
|
|
spring.datasource.hikari.connection-test-query=SELECT 1
|
|
|
|
|
|
|
|
# mybatis
|
|
|
|
mybatis.configuration.cache-enabled=true
|
|
|
|
mybatis.configuration.lazy-loading-enabled=false
|
|
|
|
mybatis.configuration.aggressive-lazy-loading=true
|
|
|
|
mybatis.configuration.multiple-result-sets-enabled=true
|
|
|
|
mybatis.configuration.use-column-label=true
|
|
|
|
mybatis.configuration.auto-mapping-behavior=full
|
|
|
|
mybatis.configuration.default-statement-timeout=25000
|
|
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
2021-02-20 10:41:52 +08:00
|
|
|
logging.file.path=/opt/dataease/logs/${spring.application.name}
|
2021-02-20 10:07:25 +08:00
|
|
|
|
|
|
|
# view
|
|
|
|
spring.resources.static-locations=classpath:/templates/,classpath:/static/
|
|
|
|
|
|
|
|
# flyway enable
|
|
|
|
spring.flyway.enabled=true
|
|
|
|
spring.flyway.baseline-on-migrate=true
|
|
|
|
spring.flyway.locations=classpath:db/migration
|
|
|
|
spring.flyway.table=dataease_version
|
|
|
|
spring.flyway.baseline-version=0
|
|
|
|
spring.flyway.encoding=UTF-8
|
|
|
|
spring.flyway.validate-on-migrate=false
|
|
|
|
spring.kafka.listener.missing-topics-fatal=false
|
|
|
|
|
|
|
|
spring.messages.basename=i18n/messages
|
|
|
|
|
|
|
|
# quartz
|
|
|
|
quartz.enabled=true
|
2021-02-20 10:41:52 +08:00
|
|
|
quartz.scheduler-name=deServerJob
|
2021-02-20 10:07:25 +08:00
|
|
|
# file upload
|
|
|
|
spring.servlet.multipart.max-file-size=500MB
|
|
|
|
spring.servlet.multipart.max-request-size=500MB
|
|
|
|
# actuator
|
|
|
|
management.server.port=8083
|
|
|
|
management.endpoints.web.exposure.include=*
|
|
|
|
#spring.freemarker.checkTemplateLocation=false
|
|
|
|
|
|
|
|
|
|
|
|
|