|
|
@@ -1,12 +1,14 @@
|
|
|
spring:
|
|
|
+ profiles:
|
|
|
+ active: dev
|
|
|
cache:
|
|
|
guava:
|
|
|
spec: expireAfterWrite=30s
|
|
|
datasource:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
|
|
|
- username: mooctest
|
|
|
- password: secr3t!
|
|
|
+# url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
|
|
|
+# username: mooctest
|
|
|
+# password: secr3t!
|
|
|
# Keep the connection alive if idle for a long time (needed in production)
|
|
|
testWhileIdle: true
|
|
|
validationQuery: SELECT 1
|
|
|
@@ -31,7 +33,7 @@ spring:
|
|
|
max-idle: 8
|
|
|
max-wait: -1
|
|
|
min-idle: 0
|
|
|
- database: 6
|
|
|
+# database: 6
|
|
|
servlet:
|
|
|
multipart:
|
|
|
enabled: true
|
|
|
@@ -46,6 +48,34 @@ oss:
|
|
|
accessKeySecret: dYml7rvT8stQkoSjMYlfRTxNj9dEsI
|
|
|
endPoint: oss-cn-hangzhou.aliyuncs.com
|
|
|
bucketName: mooctest-crowd-service
|
|
|
+#user:
|
|
|
+# service:
|
|
|
+# baseUrl: http://111.231.143.6:8081
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: dev
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
|
|
|
+ username: mooctest
|
|
|
+ password: secr3t!
|
|
|
+ redis:
|
|
|
+ database: 6
|
|
|
user:
|
|
|
service:
|
|
|
baseUrl: http://111.231.143.6:8081
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: pre
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://129.211.26.227:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
|
|
|
+ username: root
|
|
|
+ password: crowd
|
|
|
+ redis:
|
|
|
+ database: 7
|
|
|
+user:
|
|
|
+ service:
|
|
|
+ baseUrl: http://111.231.143.6:8081
|
|
|
+
|
|
|
+
|
|
|
+
|