Browse Source

默认不使用内嵌es

zhouhao 5 years ago
parent
commit
5949512df9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jetlinks-standalone/src/main/resources/application.yml

+ 1 - 1
jetlinks-standalone/src/main/resources/application.yml

@@ -34,7 +34,7 @@ easyorm:
   dialect: postgres #数据库方言
 elasticsearch:
   embedded:
-    enabled: true # 为true时使用内嵌的elasticsearch,不建议在生产环境中使用
+    enabled: false # 为true时使用内嵌的elasticsearch,不建议在生产环境中使用
     data-path: ./data/elasticsearch
     port: 9200
     host: 0.0.0.0