dubbo: application: name: bntweb qos-enable: true qos-port: 24030 qos-accept-foreign-ip: false scan: base-packages: cn.reghao.bnt.web.console.rpc protocol: name: dubbo port: 14030 server: port: 4030 tomcat: max-http-form-post-size: 4MB # servlet: # session: # org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getSessionTimeoutInMinutes 获取超时时间 # 两个请求间隔的最大时间, 超过此时间则会话过期 # timeout: 7d # persistent: true # cookie: # secure: true # http-only: true spring: servlet: multipart: max-request-size: 1GB max-file-size: 1GB application: name: bntweb profiles: active: @profile.active@ mvc: pathmatch: matching-strategy: ant_path_matcher session: timeout: 7d store-type: jdbc jdbc: initialize-schema: never table-name: SYS_SPRING_SESSION datasource: driver-class-name: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource hikari: minimum-idle: 5 maximum-pool-size: 10 auto-commit: true idle-timeout: 30000 pool-name: EvaluationHikariCP max-lifetime: 1800000 connection-timeout: 30000 connection-test-query: SELECT 1 jpa: show-sql: false open-in-view: true hibernate: ddl-auto: update properties: hibernate.format_sql: true hibernate.show_sql: false hibernate.naming.physical-strategy: org.hibernate.scripts.model.naming.PhysicalNamingStrategyStandardImpl hibernate.cache.use_second_level_cache: false hibernate.search.backend.directory.type: local-filesystem hibernate.search.backend.directory.root: ${app.luceneDir} hibernate.search.backend.analysis.configurer: class:cn.reghao.bnt.web.blog.hibernate.MyLuceneAnalysisConfigurer # hibernate.search.default.directory_provider: filesystem # hibernate.search.default.indexBase: ${app.indexDir} freemarker: cache: true template-loader-path: - classpath:/templates check-template-location: true request-context-attribute: request charset: utf-8 suffix: .ftl settings: classic_compatible: true #处理空值 template_exception_handler: rethrow template_update_delay: 0 datetime_format: yyyy-MM-dd HH:mm number_format: 0.## auto_import: /utils.ftl as utils app: baseDir: /opt/data/bntdata devopsDir: ${app.basedir}/devops luceneDir: ${app.basedir}/lucene fileDir: ${app.basedir}/file options: site_logo: /dist/images/logo.png site_favicon: /dist/images/favicon.png management: endpoints: web: base-path: /bg/api/actuator exposure: include: "*" metrics: tags: application: ${spring.application.name}