Browse Source

修改application.yml

郭超 4 years ago
parent
commit
83afb0be9f
1 changed files with 32 additions and 4 deletions
  1. 32 4
      src/main/resources/application.yml

+ 32 - 4
src/main/resources/application.yml

@@ -1,5 +1,6 @@
-#spring.profiles.active: private-cloud
-spring.profiles.active: dev-online
+spring.profiles.active: private-cloud
+#spring.profiles.active: private-localhost
+#spring.profiles.active: dev-online
 spring:
   mvc:
     favicon:
@@ -49,7 +50,34 @@ baseUrl:
   urlPath: http://47.98.174.59:8100/resourcesXinchuang/
 
 useOss: true
-#filePath: /Users/guochao/Desktop/corwd-file/xinchuang/json/
+#filePath: /Users/guochao/Desktop/crowd-file/xinchuang/json/
+---
+spring:
+  profiles: private-localhost
+
+mongodb:
+  database: test
+  host: 121.196.124.158
+  port: 27117
+  username: mooctest
+  password: mooctest
+
+baseUrl:
+  auditDistribute: test
+  mooctest: http://101.37.175.111:8191
+  taskDistribute: http://47.102.206.109:6379/
+  report:
+    export: http://47.99.140.117:9002/generateReport
+    excel: http://127.0.0.1:9003/generateReport
+    host: 127.0.0.1:8090
+  urlPath: http://47.98.174.59:8100/resourcesXinchuang/
+
+useOss: false
+save:
+  path: /Users/guochao/Desktop/crowd-file/xinchuang
+  json: /json/
+  image: /image/
+
 ---
 spring:
   profiles: private-cloud
@@ -73,6 +101,6 @@ baseUrl:
 
 useOss: false
 save:
-  path: /Users/guochao/Desktop/corwd-file/xinchuang
+  path: /var/www/crowd-file/xinchuang
   json: /json/
   image: /image/