From 27b6a3842948c86376234c984cfd3216ff1f1c0c Mon Sep 17 00:00:00 2001 From: paulGao Date: Tue, 31 May 2022 10:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0es=E6=9C=AC=E5=9C=B0=E6=8C=82?= =?UTF-8?q?=E8=BD=BD=E5=90=AF=E5=8A=A8=E5=BF=85=E9=A1=BB=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index d8120e6..434be8a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,7 @@ services: restart: always container_name: elasticsearch volumes: + # 映射本地目录权限一定要设置为 777 权限,否则启动不成功 - ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw - ../volumes/data/es7/data:/usr/share/elasticsearch/data:rw - ./config/ik:/usr/share/elasticsearch/plugins/ik