Skip to content

Instantly share code, notes, and snippets.

@AnechaS
Last active May 12, 2023 08:56
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 AnechaS/78495dfadb035d7d91783dad3bcf04ad to your computer and use it in GitHub Desktop.
Save AnechaS/78495dfadb035d7d91783dad3bcf04ad to your computer and use it in GitHub Desktop.
docker-compose config for elasticsearch and kibana
version: '3.8'
services:
elasticsearch:
container_name: es
image: docker.elastic.co/elasticsearch/elasticsearch:8.4.3
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
networks:
- es-net
ports:
- 9200:9200
kibana:
container_name: kb
image: docker.elastic.co/kibana/kibana:8.4.3
environment:
- ELASTICSEARCH_HOSTS=http://es:9200
networks:
- es-net
depends_on:
- elasticsearch
ports:
- 5601:5601
networks:
es-net:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment