49 lines
1.9 KiB
Properties
49 lines
1.9 KiB
Properties
## server port
|
|
server.port=8181
|
|
|
|
## mybatis
|
|
mybatis.config-location=classpath:mybatis-config.xml
|
|
|
|
## Database config
|
|
spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource
|
|
|
|
## session type
|
|
spring.session.store-type=none
|
|
|
|
## datasource
|
|
#spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
|
|
#spring.datasource.url=jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.7)(PORT = 1521))(FAILOVER = ON)(LOAD_BALANCE = OFF))(CONNECT_DATA =(SRVR = DEDICATED)(SID = orcl)))
|
|
|
|
#spring.datasource.driver-class-name=org.postgresql.Driver
|
|
#spring.datasource.url=jdbc:postgresql://192.168.0.18:5432/postgres
|
|
#spring.datasource.username=postgres
|
|
#spring.datasource.password=postgres
|
|
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
spring.datasource.url=jdbc:postgresql://127.0.0.1:5532/postgres
|
|
spring.datasource.username=postgres
|
|
spring.datasource.password=cgESLPassword
|
|
|
|
spring.datasource.tomcat.connection-properties=useSSL=false;useUnicode=yes;characterEncoding=UTF-8;serverTimezone=UTC;autoReconnection=true
|
|
spring.datasource.tomcat.initial-size=10
|
|
spring.datasource.tomcat.max-active=100
|
|
spring.datasource.tomcat.max-idle=50
|
|
spring.datasource.tomcat.min-idle=10
|
|
spring.datasource.tomcat.validation-query=SELECT 1
|
|
spring.datasource.tomcat.validation-query-timeout=5
|
|
spring.datasource.tomcat.max-wait=10000
|
|
spring.datasource.tomcat.time-between-eviction-runs-millis=60000
|
|
spring.datasource.tomcat.min-evictable-idle-time-millis=-1
|
|
spring.datasource.tomcat.test-on-borrow=false
|
|
spring.datasource.tomcat.test-on-connect=false
|
|
spring.datasource.tomcat.test-while-idle=true
|
|
spring.datasource.tomcat.remove-abandoned=false
|
|
spring.datasource.tomcat.log-abandoned=false
|
|
|
|
## logback
|
|
logging.config=classpath:logback-${spring.profiles.active}.xml
|
|
|
|
## multipart max file size
|
|
spring.http.multipart.max-file-size=200MB
|
|
spring.http.multipart.max-request-size=200MB
|