Skip to content

Commit

Permalink
Added Instructions on Readme.adoc in order to run ElasticSearch as Do…
Browse files Browse the repository at this point in the history
…cker Container
  • Loading branch information
Guilherme Baufaker Rêgo committed Apr 17, 2017
1 parent 8119b9b commit f876e94
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/elasticsearch/README.adoc
Expand Up @@ -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
==================
Expand Down

0 comments on commit f876e94

Please sign in to comment.