Skip to content

Instantly share code, notes, and snippets.

@aminnairi
Last active May 26, 2020 12:34
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 aminnairi/5e914eca4a0f2ab13946c7d7f0aa6c46 to your computer and use it in GitHub Desktop.
Save aminnairi/5e914eca4a0f2ab13946c7d7f0aa6c46 to your computer and use it in GitHub Desktop.
Docker Compose settings for Elastic Search + Kibana
version: "3"
# docker-compose up --detach
# docker-compose down --remove-orphans --volumes --timeout 0
services:
elasticsearch:
restart: always
image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0
environment:
- "discovery.type=single-node"
ports:
- 9200:9200
- 9300:9300
kibana:
restart: always
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.7.0
ports:
- 5601:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment