Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Docker: ElasticSearch
(edit)
Revision as of 08:49, 15 April 2019
74 bytes added
,
08:49, 15 April 2019
m
no edit summary
Line 1:
Line 1:
−
docker-compose.yml<syntaxhighlight lang="docker">
+
[https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
docker-compose.yml
]
<syntaxhighlight lang="docker">
version: '2.2'
version: '2.2'
services:
services:
Line 50:
Line 50:
</syntaxhighlight>
</syntaxhighlight>
−
=== Bring the cluster up & down ===
+
===Bring the cluster up & down===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
docker-compose up
docker-compose up
Line 56:
Line 56:
</syntaxhighlight>
</syntaxhighlight>
−
=== Inspect status of cluster ===
+
===Inspect status of cluster===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
curl http://127.0.0.1:9200/_cat/health
curl http://127.0.0.1:9200/_cat/health
</syntaxhighlight>
</syntaxhighlight>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version