ouemxq
Last Updated: April 10, 2018
·
2.86K
· pulkitsinghal

Install plugins on elasticsearch with docker-compose

(1) docker-compose.yml file

version: '2'
services:
  es_v2:
    image: elasticsearch:2
    ports:
     - "9202:9200"
    volumes:
     - .:/apps
    entrypoint: /apps/docker-entrypoint-es-plugins.sh

(2) docker-entrypoint-es-plugins.sh file:

#!/bin/bash
# setting up prerequisites

plugin install delete-by-query

exec /docker-entrypoint.sh elasticsearch

(3) Run: docker-compose up

1 Response
Add your response

29805

Than

8 months ago ·
Filed Under