Browse Source

修改本地mongo为27117

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

+ 105 - 105
src/main/resources/application.yml

@@ -1,106 +1,106 @@
-#spring.profiles.active: private-cloud
-spring.profiles.active: private-localhost
-#spring.profiles.active: dev-online
-spring:
-  mvc:
-    favicon:
-      enabled: false
-  thymeleaf:
-    prefix: classpath:/templates/
-    check-template-location: true # 这个可以不配置,检查模板位置
-    suffix: .html
-    encoding: UTF-8
-    content-type: text/html
-    mode: HTML5
-    cache: false   #避免改了模版还要重启服务器
-
-logging:
-  level:
-    com.mooctest: debug
-  pattern:
-    console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
-
-server.port: 9004
-
-oss:
-  accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
-  accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
-  endPoint: oss-cn-shanghai.aliyuncs.com
-  bucketName: mooctest-site
-  folder: xinchuang
----
-spring:
-  profiles: dev-online
-
-mongodb:
-  database: test
-  host: 121.196.124.158
-  port: 27117
-  username: mooctest
-  password: mooctest
-
-baseurl:
-  auditDistribute: http://129.211.185.102:8082/
-  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: true
-#filePath: /Users/guochao/Desktop/xinchuang/json/
----
-spring:
-  profiles: private-localhost
-
-mongodb:
-  database: test
-  host: 121.196.124.158
-  port: 27217
-  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/xinchuang
-  json: /json/
-  image: /image/
-
----
-spring:
-  profiles: private-cloud
-
-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://192.168.31.157:9003/generateReport
-    host: 192.168.31.157:8090
-  urlpath: http://47.98.174.59:8100/resourcesXinchuang/
-
-useOss: false
-save:
-  path: /var/www/xinchuang
-  json: /json/
+#spring.profiles.active: private-cloud
+spring.profiles.active: private-localhost
+#spring.profiles.active: dev-online
+spring:
+  mvc:
+    favicon:
+      enabled: false
+  thymeleaf:
+    prefix: classpath:/templates/
+    check-template-location: true # 这个可以不配置,检查模板位置
+    suffix: .html
+    encoding: UTF-8
+    content-type: text/html
+    mode: HTML5
+    cache: false   #避免改了模版还要重启服务器
+
+logging:
+  level:
+    com.mooctest: debug
+  pattern:
+    console: "%d{yyyy-MM-dd HH:mm:ss} [%p] [%t] [%c] %m%n"
+
+server.port: 9004
+
+oss:
+  accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
+  accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
+  endPoint: oss-cn-shanghai.aliyuncs.com
+  bucketName: mooctest-site
+  folder: xinchuang
+---
+spring:
+  profiles: dev-online
+
+mongodb:
+  database: test
+  host: 121.196.124.158
+  port: 27117
+  username: mooctest
+  password: mooctest
+
+baseurl:
+  auditDistribute: http://129.211.185.102:8082/
+  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: true
+#filePath: /Users/guochao/Desktop/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/xinchuang
+  json: /json/
+  image: /image/
+
+---
+spring:
+  profiles: private-cloud
+
+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://192.168.31.157:9003/generateReport
+    host: 192.168.31.157:8090
+  urlpath: http://47.98.174.59:8100/resourcesXinchuang/
+
+useOss: false
+save:
+  path: /var/www/xinchuang
+  json: /json/
   image: /image/