|
@@ -1,4 +1,4 @@
|
|
|
-spring.profiles.active: private-cloud-localhost
|
|
|
+spring.profiles.active: dev-test
|
|
|
server:
|
|
|
port: 8081
|
|
|
|
|
@@ -133,4 +133,53 @@ website:
|
|
|
|
|
|
wecaht:
|
|
|
appSecret: f84db4dc62377926624093b49ac3be1f
|
|
|
+ appId: wx60f06d61f21804be
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: dev-test
|
|
|
+ cache:
|
|
|
+ guava:
|
|
|
+ spec:
|
|
|
+ expireAfterWrite: 30s
|
|
|
+ datasource:
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ testWhileIdle: true
|
|
|
+ validationQuery: SELECT 1
|
|
|
+ url: jdbc:mysql://101.37.175.111:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
|
|
+ username: mooctest
|
|
|
+ password: secr3t!
|
|
|
+ hibernate:
|
|
|
+ ddl-auto: validate
|
|
|
+ naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
|
|
|
+ properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
|
|
|
+ jpa:
|
|
|
+ show-sql: true
|
|
|
+ redis:
|
|
|
+ host: 121.196.124.158
|
|
|
+ port: 6378
|
|
|
+ password:
|
|
|
+ pool:
|
|
|
+ max-active: 8
|
|
|
+ max-idle: 8
|
|
|
+ max-wait: -1
|
|
|
+ min-idle: 0
|
|
|
+ database: 6
|
|
|
+
|
|
|
+ thymeleaf:
|
|
|
+ cache: false
|
|
|
+ content-type: text/html
|
|
|
+ encoding: UTF-8
|
|
|
+ mode: LEGACYHTML5
|
|
|
+ prefix: classpath:/templates/
|
|
|
+ suffix: .html
|
|
|
+
|
|
|
+redirect:
|
|
|
+ url: http://crowd.dev.mooctest.net
|
|
|
+
|
|
|
+website:
|
|
|
+ domainName: 127.0.0.1
|
|
|
+
|
|
|
+wecaht:
|
|
|
+ appSecret: f84db4dc62377926624093b49ac3be1f
|
|
|
appId: wx60f06d61f21804be
|