|
|
@@ -0,0 +1,58 @@
|
|
|
+datasource.url=jdbc:mysql://192.168.253.12:3306/donate?characterEncoding=utf-8
|
|
|
+datasource.username=root
|
|
|
+datasource.password=select111***
|
|
|
+datasource.driverClassName=com.mysql.jdbc.Driver
|
|
|
+datasource.initialSize=3
|
|
|
+datasource.minIdle=1
|
|
|
+datasource.maxActive=20
|
|
|
+datasource.maxWait=60000
|
|
|
+datasource.timeBetweenEvictionRunsMillis=60000
|
|
|
+datasource.minEvictableIdleTimeMillis=300000
|
|
|
+datasource.validationQuery=SELECT 1 FROM DUAL
|
|
|
+datasource.testWhileIdle=true
|
|
|
+datasource.testOnBorrow=true
|
|
|
+datasource.testOnReturn=false
|
|
|
+datasource.poolPreparedStatements=true
|
|
|
+datasource.timeBetweenLogStatsMillis=60000
|
|
|
+datasource.maxPoolPreparedStatementPerConnectionSize=20
|
|
|
+datasource.filters=stat,slf4j
|
|
|
+datasource.connectionProperties=druid.stat.mergeSql=false;druid.stat.slowSqlMillis=5000
|
|
|
+
|
|
|
+security.basic.enabled=true
|
|
|
+security.basic.path=/service
|
|
|
+security.user.name=admin
|
|
|
+security.user.password=select111***
|
|
|
+security.user.role=ADMIN
|
|
|
+security.ignored=false
|
|
|
+
|
|
|
+## message config
|
|
|
+message.send.url=http://message.ubtob.com/sms/send
|
|
|
+message.tplInvitationForB2B=
|
|
|
+message.msgInvitationForB2B=
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+### sso config
|
|
|
+#sso.app=donate
|
|
|
+## token secretkey
|
|
|
+#sso.secretkey=
|
|
|
+#sso.cookie.domain=.ubtob.com
|
|
|
+#sso.cookie.secure=false
|
|
|
+#sso.login.url=https://account.ubtob.com/sso/login
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+spring.jpa.hibernate.show-sql= true
|
|
|
+spring.jpa.hibernate.ddl-auto=update
|
|
|
+spring.jpa.hibernate.dialect=org.hibernate.dialect.5DiGlect
|
|
|
+spring.jackson.serialization.indent_output=false
|
|
|
+
|
|
|
+zk.url=zookeeper://10.10.100.11:2181
|
|
|
+dubbo.owner=prod
|
|
|
+dubbo.group=prod
|
|
|
+
|
|
|
+#设定ftl文件路径
|
|
|
+spring.freemarker.template-loader-path=classpath:/templates
|
|
|
+#设定静态文件路径,js,css等
|
|
|
+spring.mvc.static-path-pattern=/static/*
|
|
|
+spring.freemarker.cache=false
|