Explorar o código

默认不使用内嵌es

zhouhao %!s(int64=5) %!d(string=hai) anos
pai
achega
5949512df9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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