Browse Source

Update docker-compose-env.yml

macro 1 year ago
parent
commit
8211a23200
1 changed files with 1 additions and 1 deletions
  1. 1 1
      document/docker/docker-compose-env.yml

+ 1 - 1
document/docker/docker-compose-env.yml

@@ -44,7 +44,7 @@ services:
     environment:
       - "cluster.name=elasticsearch" #设置集群名称为elasticsearch
       - "discovery.type=single-node" #以单一节点模式启动
-      - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" #设置使用jvm内存大小
+      - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" #设置es使用jvm内存大小
     volumes:
       - /mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins #插件文件目录挂载
       - /mydata/elasticsearch/data:/usr/share/elasticsearch/data #数据文件目录挂载