|
@@ -1,6 +1,6 @@
|
|
|
spring.profiles.active: dev
|
|
|
server:
|
|
|
- port: 8081
|
|
|
+ port: 8082
|
|
|
|
|
|
default:
|
|
|
goto: http://127.0.0.1
|
|
@@ -37,9 +37,10 @@ oss:
|
|
|
bucketName: mooctest-user-server
|
|
|
endPoint: http://oss-cn-shanghai.aliyuncs.com
|
|
|
|
|
|
+
|
|
|
---
|
|
|
spring:
|
|
|
- profiles: private-cloud
|
|
|
+ profiles: dev
|
|
|
cache:
|
|
|
guava:
|
|
|
spec:
|
|
@@ -48,7 +49,7 @@ spring:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
testWhileIdle: true
|
|
|
validationQuery: SELECT 1
|
|
|
- url: jdbc:mysql://mysql:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://106.14.81.62:3308/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
|
|
username: root
|
|
|
password: Customs2019
|
|
|
hibernate:
|
|
@@ -59,14 +60,15 @@ spring:
|
|
|
show-sql: true
|
|
|
|
|
|
redis:
|
|
|
- host: redis
|
|
|
- password:
|
|
|
+ host: 106.14.81.62
|
|
|
+ password: Customs2019
|
|
|
pool:
|
|
|
max-active: 8
|
|
|
max-idle: 8
|
|
|
max-wait: -1
|
|
|
min-idle: 0
|
|
|
- port: 6379
|
|
|
+ database: 0
|
|
|
+ port: 6378
|
|
|
|
|
|
thymeleaf:
|
|
|
cache: false
|
|
@@ -77,18 +79,19 @@ spring:
|
|
|
suffix: .html
|
|
|
|
|
|
redirect:
|
|
|
- url: http://127.0.0.1
|
|
|
+ url: http://crowd.dev.mooctest.net/
|
|
|
|
|
|
website:
|
|
|
- domainName: 127.0.0.1
|
|
|
+ domainName: mooctest.net
|
|
|
|
|
|
wecaht:
|
|
|
appSecret: f84db4dc62377926624093b49ac3be1f
|
|
|
appId: wx60f06d61f21804be
|
|
|
|
|
|
+
|
|
|
---
|
|
|
spring:
|
|
|
- profiles: private-cloud-localhost
|
|
|
+ profiles: prod
|
|
|
cache:
|
|
|
guava:
|
|
|
spec:
|
|
@@ -97,7 +100,7 @@ spring:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
testWhileIdle: true
|
|
|
validationQuery: SELECT 1
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://106.14.81.62:3308/mooctest_user?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
|
|
username: root
|
|
|
password: Customs2019
|
|
|
hibernate:
|
|
@@ -108,63 +111,15 @@ spring:
|
|
|
show-sql: true
|
|
|
|
|
|
redis:
|
|
|
- host: 127.0.0.1
|
|
|
- password:
|
|
|
- pool:
|
|
|
- max-active: 8
|
|
|
- max-idle: 8
|
|
|
- max-wait: -1
|
|
|
- min-idle: 0
|
|
|
- port: 6379
|
|
|
-
|
|
|
- thymeleaf:
|
|
|
- cache: false
|
|
|
- content-type: text/html
|
|
|
- encoding: UTF-8
|
|
|
- mode: LEGACYHTML5
|
|
|
- prefix: classpath:/templates/
|
|
|
- suffix: .html
|
|
|
-
|
|
|
-redirect:
|
|
|
- url: http://127.0.0.1
|
|
|
-
|
|
|
-website:
|
|
|
- domainName: 127.0.0.1
|
|
|
-
|
|
|
-wecaht:
|
|
|
- appSecret: f84db4dc62377926624093b49ac3be1f
|
|
|
- appId: wx60f06d61f21804be
|
|
|
-
|
|
|
----
|
|
|
-spring:
|
|
|
- profiles: dev
|
|
|
- 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: 106.14.81.62
|
|
|
password: Customs2019
|
|
|
+ port: 6378
|
|
|
+ database: 0
|
|
|
pool:
|
|
|
max-active: 8
|
|
|
max-idle: 8
|
|
|
max-wait: -1
|
|
|
min-idle: 0
|
|
|
- port: 16379
|
|
|
|
|
|
thymeleaf:
|
|
|
cache: false
|
|
@@ -175,11 +130,11 @@ spring:
|
|
|
suffix: .html
|
|
|
|
|
|
redirect:
|
|
|
- url: http://crowd.dev.mooctest.net/
|
|
|
+ url: http://150.158.176.114/
|
|
|
|
|
|
website:
|
|
|
- domainName: mooctest.net
|
|
|
+ domainName: 150.158.176.114
|
|
|
|
|
|
wecaht:
|
|
|
appSecret: f84db4dc62377926624093b49ac3be1f
|
|
|
- appId: wx60f06d61f21804be
|
|
|
+ appId: wx60f06d61f21804be
|