|
@@ -20,6 +20,101 @@ spring:
|
|
|
properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
|
|
|
|
|
|
---
|
|
|
+
|
|
|
+spring:
|
|
|
+ profiles: dev
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://101.37.175.111:3306/mooctest_main_dev?useUnicode=yes&characterEncoding=UTF-8
|
|
|
+ username: mooctest
|
|
|
+ password: secr3t!
|
|
|
+ dubbo:
|
|
|
+ application.name: local-dubbo-main-site-provider-consumer3
|
|
|
+ registry.address: zookeeper://127.0.0.1:2181
|
|
|
+ protocol.name: dubbo
|
|
|
+ protocol.port: 20884
|
|
|
+ scan: cn.iselab.mooctest.site.rpc
|
|
|
+ monitor.protocol: registry
|
|
|
+ timeout: 120000
|
|
|
+ shutdown.hook: true
|
|
|
+ rabbitmq:
|
|
|
+ host: 121.199.32.102
|
|
|
+ port: 5672
|
|
|
+ username: mooctest
|
|
|
+ password: mooctestPassword
|
|
|
+ virtual-host: dev
|
|
|
+ redis:
|
|
|
+ host: 114.55.91.27
|
|
|
+ port: 6379
|
|
|
+ password:
|
|
|
+ pool:
|
|
|
+ max-active: 8
|
|
|
+ max-wait: -1
|
|
|
+ max-idle: 8
|
|
|
+ min-idle: 0
|
|
|
+
|
|
|
+featureSwitch:
|
|
|
+ default:
|
|
|
+ role: worker
|
|
|
+ client:
|
|
|
+ sms: true
|
|
|
+ email: true
|
|
|
+ oss: true
|
|
|
+ webide: true
|
|
|
+ wechat: false
|
|
|
+ server:
|
|
|
+ rpcDevService: true
|
|
|
+ mongoServer: true
|
|
|
+ UserService: true
|
|
|
+ enableRabbitListener: false
|
|
|
+ initExamScheduler: false
|
|
|
+mongodb:
|
|
|
+ host: 114.55.91.27
|
|
|
+ port: 80
|
|
|
+ db: testGraph
|
|
|
+ reportCollection: report
|
|
|
+ mutationCollection: mutation
|
|
|
+ caseGraghCollection: caseGraph
|
|
|
+ caughtNodeCollection: caughtNode
|
|
|
+ userCatchCollection: userCatch
|
|
|
+ catchCollection: catch
|
|
|
+ sumCatchCollection: sumCatch
|
|
|
+ competeAnalysisCollection: competeAnalysisResult
|
|
|
+ difficultAnalysisCollection: difficultAnalysisResult
|
|
|
+ timeAnalysisCollection: timeAnalysisResult
|
|
|
+ targetGraphCollection: targetGraph
|
|
|
+ base64Auth: Basic YWRtaW46Y2hhbmdlaXQ=
|
|
|
+
|
|
|
+oss:
|
|
|
+ bucketName:
|
|
|
+ dev: mooctest-dev
|
|
|
+ static: mooctest-mutation
|
|
|
+ main: mooctest-site-dev
|
|
|
+ app: kikbug-public
|
|
|
+ target: target
|
|
|
+ bucket: mooctest-site-dev
|
|
|
+ accessKeyId: IvS323TIcWUT57MG
|
|
|
+ accessKeySecret: dYml7rvT8stQkoSjMYlfRTxNj9dEsI
|
|
|
+ endPoint: http://oss-cn-shanghai.aliyuncs.com
|
|
|
+ expireTime: 600
|
|
|
+ region: oss-cn-shanghai
|
|
|
+ roleArn: acs:ram::1525065817051996:role/oss-archives
|
|
|
+
|
|
|
+server:
|
|
|
+ port: 8080
|
|
|
+
|
|
|
+logging.config: classpath:log4j2.yaml
|
|
|
+#logging.access.enabled: false
|
|
|
+
|
|
|
+host: http://local.mooctest.net
|
|
|
+
|
|
|
+webIDE:
|
|
|
+ address: 47.97.4.113:8000
|
|
|
+
|
|
|
+celeryServer:
|
|
|
+ host: 121.199.32.102
|
|
|
+ port: 5002
|
|
|
+
|
|
|
+---
|
|
|
# 私有云服务环境
|
|
|
spring:
|
|
|
profiles: privatecloud
|