增加es本地挂载启动必须条件说明

master
paulGao 2022-05-31 10:01:11 +08:00
parent 3f254aab34
commit 27b6a38429
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ services:
restart: always restart: always
container_name: elasticsearch container_name: elasticsearch
volumes: volumes:
# 映射本地目录权限一定要设置为 777 权限,否则启动不成功
- ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw - ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw
- ../volumes/data/es7/data:/usr/share/elasticsearch/data:rw - ../volumes/data/es7/data:/usr/share/elasticsearch/data:rw
- ./config/ik:/usr/share/elasticsearch/plugins/ik - ./config/ik:/usr/share/elasticsearch/plugins/ik