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