Skip to content

Instantly share code, notes, and snippets.

@YusukeIwaki
Created March 12, 2019 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YusukeIwaki/97321a15338b26303709a8d857f32685 to your computer and use it in GitHub Desktop.
Save YusukeIwaki/97321a15338b26303709a8d857f32685 to your computer and use it in GitHub Desktop.
Elasticsearch + Kibana
version: '2.2'
services:
elasticsearch:
image: elasticsearch:5.6
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
# ports:
# - 9200:9200
kibana:
image: kibana:5.6
environment:
SERVER_NAME: localhost:5601
ELASTICSEARCH_URL: http://elasticsearch:9200
# ports:
# - 5601:5601
depends_on:
- elasticsearch
volumes:
esdata:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment