update docker-compose.yml.

取消默认的挂载本地目录
master
OceansDeep 2022-06-08 09:37:35 +00:00 committed by Gitee
parent 57372d80a9
commit 4a492a59c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ services:
container_name: elasticsearch container_name: elasticsearch
volumes: volumes:
# 映射本地目录权限一定要设置为 777 权限,否则启动不成功 # 映射本地目录权限一定要设置为 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
# - "./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml" # - "./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
ports: ports: