Public | Automated Build

Last pushed: a year ago
Short Description
Componente Elasticsearch della dashboard SIRED.
Full Description

dashboard-elasticsearch

Dockerfile per l'immagine ElasticSearch della Dashboard

#BUILD IMAGE
docker build -t elastic:1.7 .

#RUN CONTAINER

#SINGLE NODE
docker run -d --name es -v /backup_sired:/backup -e NODE_NAME=Elastic_1 -e PLUGINS=elasticsearch/marvel/latest,mobz/elasticsearch-head -p 9200:9200 -p 9300:9300 elastic:1.7

#MULTINODE cluster
docker run -d --name es1 -e CLUSTER=cluster-sired -e NODE_NAME=Elastic_1 -e PLUGINS=elasticsearch/marvel/latest,mobz/elasticsearch-head -p 9200:9200 -p 9300:9300 elastic:1.7
docker run -d --name es2 --link es1 -e CLUSTER=cluster-sired -e NODE_NAME=Elastic_2 -e UNICAST_HOSTS=es1 -e PLUGINS=elasticsearch/marvel/latest,mobz/elasticsearch-head -p 9201:9200 -p 9301:9300 elastic:1.7
docker run -d --name es3 --link es1 -e CLUSTER=cluster-sired -e NODE_NAME=Elastic_3 -e UNICAST_HOSTS=es1 -e PLUGINS=elasticsearch/marvel/latest,mobz/elasticsearch-head -p 9202:9200 -p 9302:9300 elastic:1.7

#CONNECT TO BASH
docker exec -ti es bash

Docker Pull Command
Owner
sardegnaturismo

Comments (0)