Commit a2ac9921 by Avi Junowicz

new docker-compose for elk with volume of data

parent 383b514b
Showing with 11 additions and 1 deletions
elk:
image: sebp/elk
image: aharonamir/elk5-x-pack
ports:
- "5601:5601"
- "9200:9200"
volumes:
- "/ext/elasticsearch:/var/lib/elasticsearch"
fluentd-es:
image: openfirmware/fluentd-elasticsearch
ports:
......@@ -10,3 +12,11 @@ fluentd-es:
- "8888:8888"
links:
- elk:elasticsearch
# user: elastic, pass:changeme
# before running ,run: sudo sysctl -w vm.max_map_count=262144
# add follwing line in /etc/sysctl.conf
# vm.max_map_count = 262144
# create with geo json
#curl -XPUT "http://localhost:9200/activityidx" -d'{ "mappings": { "activity": { "properties": { "metaData.loc": { "type": "geo_point" } } } } }'
# view
# curl: curl -XGET "http://localhost:9200/activityidx/activity" -d'{ "query": { "match_all": {} }}'
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 sign in to comment