50 lines
2.4 KiB
Properties
50 lines
2.4 KiB
Properties
## server port
|
|
server.port=8081
|
|
|
|
## 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=ENC(KU6EgMqvqtVYzN247WoPIolfd+iLvevfEwrnkQaQLWx8WmBpQyKkrduicKGim4zUcTVP7WcE+yUMpeDWOFYzJ2CraCxkXABOFi9yvE3Q/u4SaCib9Am4PemMlfG0aspQPj0kYheeVvqy7JXn713xg6Sd/hcxMNbM7WDHPirtX0Oy7arCDp5AYppg78FIwuH5OJ19IbqBwTx3g8jGXGHiYA==)
|
|
#spring.datasource.username=ENC(C3rocHuBTFmlhWfKc2xPDQ==)
|
|
#spring.datasource.password=ENC(6j4NSJeNFcmg0DF+PUISncTJrOwQzoDk)
|
|
#spring.datasource.url=jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.253.32.239)(PORT = 1521))(FAILOVER = ON)(LOAD_BALANCE = OFF))(CONNECT_DATA =(SRVR = DEDICATED)(SID = TSTESL)))
|
|
|
|
#spring.datasource.url=jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.253.31.172)(PORT = 1521))(FAILOVER = ON)(LOAD_BALANCE = OFF))(CONNECT_DATA =(SRVR = DEDICATED)(SID = xe)))
|
|
spring.datasource.url=jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.18)(PORT = 1521))(FAILOVER = ON)(LOAD_BALANCE = OFF))(CONNECT_DATA =(SRVR = DEDICATED)(SID = XE)))
|
|
#spring.datasource.username=esl
|
|
spring.datasource.username=emart
|
|
#spring.datasource.password=cgESLPassword
|
|
#spring.datasource.password=r%esl201811
|
|
spring.datasource.password=emart
|
|
|
|
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=200
|
|
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
|