-
Notifications
You must be signed in to change notification settings - Fork 344
Add extensionpoint to docker-entrypoint.sh #86
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
Conversation
Add scan folder docker-entrypoint-initels.d to extend container before every start up CMD show #85
This would be very useful. For example for adding templates or creating indexes with a specific mapping. |
I think the discussion in docker-library/mongo#53 is very relevant here. |
Arg, I linked to the wrong discussion, sorry. 😞 Relevant comments/discussion: |
My thought for this one specifically is why not just end my custom script with $ docker run -d -v /custom/script.sh:/custom-script.sh elasticsearch /custom-script.sh The only thing we miss inheriting from the entrypoint into our script is the The reason I bring this up is that For example, I can do the following and have my plugin in the resulting image: FROM elasticsearch
RUN plugin -i elasticsearch/marvel/latest |
So, what @yosifkit proposed actually works well.
|
I would like to set templates from docker-compose, and to do this, it require elasticsearch running. Therefore I think this merge is still necessary to do like setting template or index. |
Closing since the repo is being deprecated. See discussion on #160 for more information.
|
Add scan folder docker-entrypoint-initels.d to extend container before every start up CMD
show #85