docker-elk icon indicating copy to clipboard operation
docker-elk copied to clipboard

elasticsearch.yml is both mounted and copied

Open k33rs opened this issue 9 years ago • 2 comments

Why do you both COPY the config directory (that contains elasticsearch.yml) and bind-mount elasticsearch.yml? Isn't COPYing enough?

Dockerfile:

COPY config/ config/

docker-compose.yml:

volumes: - ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml

k33rs avatar Oct 26 '17 18:10 k33rs

Fair point, we should either COPY only the Searchguard files or mount everything.

antoineco avatar Oct 26 '17 18:10 antoineco

I'll fix this together with the 6.0.0 release.

antoineco avatar Nov 17 '17 10:11 antoineco