Browse Source

Update docker-compose-env.yml

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

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

@@ -46,8 +46,8 @@ services:
       - "discovery.type=single-node" #以单一节点模式启动
       - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" #设置使用jvm内存大小
     volumes:
-      - /mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins #插件文件挂载
-      - /mydata/elasticsearch/data:/usr/share/elasticsearch/data #数据文件挂载
+      - /mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins #插件文件目录挂载
+      - /mydata/elasticsearch/data:/usr/share/elasticsearch/data #数据文件目录挂载
     ports:
       - 9200:9200
       - 9300:9300