Skip to content

Instantly share code, notes, and snippets.

@AvasDream
Last active January 4, 2020 20:11
Show Gist options
  • Save AvasDream/0cb852a04a53b0145ee51d23b46ebdfe to your computer and use it in GitHub Desktop.
Save AvasDream/0cb852a04a53b0145ee51d23b46ebdfe to your computer and use it in GitHub Desktop.
Elasticsearch, Dejavu, Kibana
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
container_name: elastic_search
environment:
- node.name=es01
- discovery.type=single-node
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearchdb:/usr/share/elasticsearch/data
ports:
- 9200:9200
wui_elastic:
image: appbaseio/dejavu
container_name: webui
ports:
- 1358:1358
kibana:
image: docker.elastic.co/kibana/kibana:7.5.1
container_name: kibana
environment:
- elasticsearch.hosts=http://elasticsearch:9200
- server.name=kibana
ports:
- 5601:5601
volumes:
elasticsearchdb:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment