|
@@ -4,6 +4,34 @@ server:
|
|
uri-encoding: UTF-8
|
|
uri-encoding: UTF-8
|
|
servlet:
|
|
servlet:
|
|
context-path: /officeother
|
|
context-path: /officeother
|
|
|
|
+spring:
|
|
|
|
+ profiles:
|
|
|
|
+ active: dev
|
|
|
|
+ http:
|
|
|
|
+ encoding:
|
|
|
|
+ force: true
|
|
|
|
+ charset: utf-8
|
|
|
|
+ enabled: true
|
|
|
|
+ messages:
|
|
|
|
+ basename: i18n/messages
|
|
|
|
+ datasource:
|
|
|
|
+ primary:
|
|
|
|
+ driver-class-name: org.h2.Driver
|
|
|
|
+ jdbc-url: jdbc:h2:file:${user.home}/.officeother/data/server;FILE_LOCK=NO;DB_CLOSE_ON_EXIT=FALSE
|
|
|
|
+ username: admin
|
|
|
|
+ password: select111***
|
|
|
|
+ hikari:
|
|
|
|
+ minimum-idle: 5
|
|
|
|
+ maximum-pool-size: 50
|
|
|
|
+ idle-timeout: 30000
|
|
|
|
+ max-lifetime: 1800000
|
|
|
|
+ connection-timeout: 30000
|
|
|
|
+ redis:
|
|
|
|
+ host: 127.0.0.1
|
|
|
|
+ port: 6379
|
|
|
|
+ jackson:
|
|
|
|
+ serialization:
|
|
|
|
+ write-dates-as-timestamps: true
|
|
logging:
|
|
logging:
|
|
path: ${user.home}/.officeother/logs/
|
|
path: ${user.home}/.officeother/logs/
|
|
level:
|
|
level:
|