修复docker-compose中elasticsearch挂载目录错误问题

master
paulGao 2022-05-30 19:01:20 +08:00
parent d22b0ddba3
commit 3f254aab34
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ services:
restart: always restart: always
container_name: elasticsearch container_name: elasticsearch
volumes: volumes:
- ../volumes/data/es7/logs:/usr/share/es7/logs:rw - ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw
- ../volumes/data/es7/data:/usr/share/es7/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: