Browse Source

修改application.yml

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

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

@@ -1,5 +1,6 @@
 #spring.profiles.active: dev-xc
-spring.profiles.active: private
+spring.profiles.active: private-cloud
+#spring.profiles.active: private-localhost
 #spring.profiles.active: dev-online
 
 cpSerialNum: cp_mooctest_dev
@@ -57,7 +58,7 @@ server:
     uri-encoding: UTF-8
 useOss: true
 save:
-  path: /Users/guochao/Desktop/corwd-file
+  path: /Users/guochao/Desktop/crowd-file
   folder: /xinchuang
   input: /input
   output: /output
@@ -69,7 +70,7 @@ main:
 
 ---
 spring:
-  profiles: private
+  profiles: private-localhost
   http:
     encoding:
       charset: UTF-8
@@ -87,7 +88,7 @@ server:
     uri-encoding: UTF-8
 useOss: false
 save:
-  path: /Users/guochao/Desktop/corwd-file
+  path: /Users/guochao/Desktop/crowd-file
   folder: /xinchuang
   input: /input
   output: /output
@@ -96,4 +97,35 @@ save:
   image: /image
 main:
 #  site: http://139.224.0.118
+  site: http://127.0.0.1:8080
+
+---
+spring:
+  profiles: private-cloud
+  http:
+    encoding:
+      charset: UTF-8
+      enabled: true
+      force: true
+  data:
+    mongodb:
+      uri: mongodb://mooctest:mooctest@121.196.124.158:27117/test
+server:
+  ip: 127.0.0.1
+  port: 8090
+  servlet:
+    context-path: /Bug/api/
+  tomcat:
+    uri-encoding: UTF-8
+useOss: false
+save:
+  path: /var/www/crowd-file
+  folder: /xinchuang
+  input: /input
+  output: /output
+  download: /downloads
+  json: /json
+  image: /image
+main:
+  #  site: http://139.224.0.118
   site: http://127.0.0.1:8080