Skip to content

Instantly share code, notes, and snippets.

@sbmaggarwal
Created January 10, 2023 08:55
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 sbmaggarwal/7afd038147c39d9dc031353f929e7423 to your computer and use it in GitHub Desktop.
Save sbmaggarwal/7afd038147c39d9dc031353f929e7423 to your computer and use it in GitHub Desktop.
version: "3.9"
services:
elasticsearch:
image: elasticsearch:8.2.3
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.enabled=false
volumes:
- es_data:/Users/Core/Docker/Elasticsearch/data
ports:
- target: 9200
published: 9200
networks:
- elastic
kibana:
image: kibana:8.2.3
ports:
- target: 5601
published: 5601
depends_on:
- elasticsearch
networks:
- elastic
volumes:
es_data:
driver: local
networks:
elastic:
name: elastic
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment