docker-elk
docker-elk copied to clipboard
elasticsearch.yml is both mounted and copied
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
Fair point, we should either COPY only the Searchguard files or mount everything.
I'll fix this together with the 6.0.0 release.