catalog-dockerfiles icon indicating copy to clipboard operation
catalog-dockerfiles copied to clipboard

ElasticSearch plugins

Open throrin19 opened this issue 8 years ago • 1 comments

Hello, How to install plugins in elasticsearch in the catalog ?

throrin19 avatar Apr 19 '16 14:04 throrin19

@throrin19 did you figure this out? I was doing some customizations on our rancher-compose template and I found that there are two ways to install elastic search plugins:

  • Add your plugins as static libs to the path: /elasticsearch/plugins
    • Note: You can volume mount it as a sidekick
    • See: https://github.com/rancher/catalog-dockerfiles/blob/master/elasticsearch/containers/0.4.0/elasticsearch-conf/templates/plugins.tmpl
  • Mount a volume with the file plugins.txt that is newline delimited with the list of plugins to add. Then set your path in the env var PLUGIN_TXT
    • See: https://github.com/rancher/catalog-dockerfiles/blob/master/elasticsearch/containers/0.4.0/elasticsearch-conf/run.sh

bmanth60 avatar Jan 23 '17 20:01 bmanth60