From f876e94843503eece46fc2235ede707d262d59f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Baufaker=20R=C3=AAgo?= Date: Mon, 17 Apr 2017 19:03:52 -0300 Subject: [PATCH] Added Instructions on Readme.adoc in order to run ElasticSearch as Docker Container --- examples/elasticsearch/README.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/elasticsearch/README.adoc b/examples/elasticsearch/README.adoc index a67aff08d..06d8c0336 100644 --- a/examples/elasticsearch/README.adoc +++ b/examples/elasticsearch/README.adoc @@ -58,6 +58,25 @@ Start the standalone server bin/standalone.sh ---- +== Alternative as Docker Container + +This tutorial can be followed as docker container. + +That can be done by the following commands: + +[source,shell,subs="+attributes"] +---- +docker build -t hawkular-alerts-elasticsearch . +docker run -i -t hawkular-alerts-elasticsearch /bin/bash +nohup /opt/hawkular-alerts/hawkular-alerts-rest-tests/target/wildfly-10.0.0.Final/bin/standalone.sh > hawkular-alerts.out +nohup /opt/elasticsearch/bin/elasticsearch -Des.insecure.allow.root=true > elastic-search.out +nohup /opt/kibana/bin/kibana > kibana.out +/opt/create-definitions.sh +/opt/create-logs.sh +---- + + + [TIP] .Test Email server ==================