weiwenhai 6 жил өмнө
parent
commit
22c1c48181

+ 28 - 0
examcloud-core-questions-starter/src/main/resources/application-k12.properties

@@ -0,0 +1,28 @@
+spring.data.mongodb.uri=mongodb://db-host:27017/exam_cloud_question_kf
+spring.data.mongodb.grid-fs-database=exam_cloud_question_kf
+spring.data.mongodb.database=exam_cloud_question_kf
+eureka.client.serviceUrl.defaultZone=http://eureka-host:1111/eureka/
+
+spring.redis.host=redis-host
+spring.redis.port=6379
+
+upyun.bucketName=exam-cloud-test
+upyun.userName=examcloud
+upyun.password=examcloud123456
+upyun.uploadUrl=/comm-ques-bank/test/exam-paper-file/
+upyun.audio.uploadUrl=/comm-ques-bank/test/audio/
+upyun.audio.maxsize=10
+upyun.downloadUrl=http://exam-cloud-test.b0.upaiyun.com
+upyun.downloadDirectory=paperDirectory
+upyun.zipDirectory=paperZipDirectory
+upyun.radioType=mp3
+
+
+spring.datasource.url=jdbc:mysql://db-host:3306/exam_cloud_test?useUnicode=true&characterEncoding=UTF-8
+spring.datasource.username=root
+spring.datasource.password=root
+spring.datasource.validation-query=SELECT 1 FROM DUAL
+spring.datasource.test-on-borrow=true
+spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+spring.jpa.show-sql=false
+spring.jpa.hibernate.ddl-auto=update