Commit 802e33a1 by Clinton Blackburn Committed by Clinton Blackburn

Added Dockerfile for Elasticsearch with elasticsearch-head

This custom image includes the elasticsearch-head plugin

Fixes #8
parent bb197a01
...@@ -13,15 +13,16 @@ version: "2.1" ...@@ -13,15 +13,16 @@ version: "2.1"
services: services:
# Third-party services # Third-party services
elasticsearch: elasticsearch:
build:
context: .
dockerfile: ./docker/elasticsearch/Dockerfile
container_name: edx.devstack.elasticsearch container_name: edx.devstack.elasticsearch
image: elasticsearch:1.5.2
ports: ports:
- "9200:9200" - "9200:9200"
- "9300:9300" - "9300:9300"
volumes: volumes:
- ./.dev/volumes/elasticsearch/data:/usr/share/elasticsearch/data - ./.dev/volumes/elasticsearch/data:/usr/share/elasticsearch/data
- ./.dev/volumes/elasticsearch/logs:/usr/share/elasticsearch/logs - ./.dev/volumes/elasticsearch/logs:/usr/share/elasticsearch/logs
- ./.dev/volumes/elasticsearch/plugins:/usr/share/elasticsearch/plugins
memcached: memcached:
container_name: edx.devstack.memcached container_name: edx.devstack.memcached
......
FROM elasticsearch:1.5.2
# Install the elastcisearch-head plugin (https://mobz.github.io/elasticsearch-head/)
RUN /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment