|
|
@@ -0,0 +1,35 @@
|
|
|
+app.datasource.url=jdbc:mysql://192.168.100.3:3306/sso?characterEncoding=utf-8&useSSL=false
|
|
|
+app.datasource.username=sa
|
|
|
+app.datasource.password=select111***
|
|
|
+app.datasource.driverClassName=com.mysql.jdbc.Driver
|
|
|
+app.datasource.initialSize=1
|
|
|
+app.datasource.minIdle=1
|
|
|
+app.datasource.maxActive=20
|
|
|
+app.datasource.maxWait=60000
|
|
|
+app.datasource.timeBetweenEvictionRunsMillis=60000
|
|
|
+app.datasource.minEvictableIdleTimeMillis=300000
|
|
|
+app.datasource.validationQuery=SELECT 1 FROM DUAL
|
|
|
+app.datasource.testWhileIdle=true
|
|
|
+app.datasource.testOnBorrow=true
|
|
|
+app.datasource.testOnReturn=false
|
|
|
+app.datasource.poolPreparedStatements=true
|
|
|
+app.datasource.timeBetweenLogStatsMillis=60000
|
|
|
+app.datasource.maxPoolPreparedStatementPerConnectionSize=20
|
|
|
+app.datasource.filters=stat,slf4j
|
|
|
+app.datasource.connectionProperties=druid.stat.mergeSql=false;druid.stat.slowSqlMillis=5000
|
|
|
+
|
|
|
+spring.redis.host=192.168.100.4
|
|
|
+spring.redis.port=6379
|
|
|
+
|
|
|
+spring.jpa.show-sql=false
|
|
|
+spring.jpa.hibernate.ddl-auto=update
|
|
|
+
|
|
|
+management.security.enabled=false
|
|
|
+logging.level.com.uas.sso.sso.backend=debug
|
|
|
+
|
|
|
+spring.mail.host=smtp.usoftchina.com
|
|
|
+spring.mail.username=sso@usoftchina.com
|
|
|
+spring.mail.password=QWE899GHJ
|
|
|
+spring.mail.default-encoding=UTF-8
|
|
|
+
|
|
|
+mail.fromMail=sso@usoftchina.com
|