Skip to content

Instantly share code, notes, and snippets.

@abechanta
Last active July 9, 2020 14:34
Show Gist options
  • Select an option

  • Save abechanta/f7cd5f2c9dbc0745d6940618d0467135 to your computer and use it in GitHub Desktop.

Select an option

Save abechanta/f7cd5f2c9dbc0745d6940618d0467135 to your computer and use it in GitHub Desktop.
Elasticsearch/Kibana for dev on Docker Compose
version: '3.8'
services:
elasticsearch:
image: elasticsearch:7.8.0
networks:
- elastic
restart: always
ports:
- 9200:9200
- 9300:9300
volumes:
- ./data:/usr/share/elasticsearch/data
environment:
discovery.type: single-node
kibana:
image: kibana:7.8.0
networks:
- elastic
restart: always
ports:
- 5601:5601
links:
- elasticsearch
depends_on:
- elasticsearch
networks:
elastic:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment