-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data persistence in swarm (Wiki) #991
Comments
Thanks for the hint! If you feel like contributing that change the wiki can be edited by anyone. Otherwise I'll do it sometime next week. |
sweet, will get around to it tomorrow i might add a recommendation to use nginx for port mapping and securing as well? in swarm mode the best way is to use nginx in front for ingress I think, using and using socat to forward doesn't work so well even if you use valid ssl certs on elastic, was getting errors. best way I found was to use self signed certs on elastic and put the valid certs at nginx |
We had a request to add this once as part of In my opinion deployment concerns are out-of-scope for docker-elk. There are a lot of ways to expose web applications securely over a network, and we are better off staying away from opinionated recommendations in this project, especially since the main focus is on single-host deployments via Docker Compose. |
wiki's been updated |
Thank you for your contribution, much appreciated! |
there is a section in the wiki about data persistence when scaling out the elastic cluster: https://github.com/deviantony/docker-elk/wiki/Elasticsearch-cluster#data-persistence
in Elastic v8 onwards, the way to do it is to set the
path.data
configuration as part of env vars: https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#path-settingsin docker swarm, this would be like so:
path.data
configuration: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#data-pathThe text was updated successfully, but these errors were encountered: