Skip to content

Instantly share code, notes, and snippets.

@revolunet
Created October 23, 2023 22:50
Show Gist options
  • Save revolunet/0935cee6fc6ff88da0b0e74dbd048ae6 to your computer and use it in GitHub Desktop.
Save revolunet/0935cee6fc6ff88da0b0e74dbd048ae6 to your computer and use it in GitHub Desktop.
minimal elastic+kibana with docker-compose
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0
environment:
- "ES_JAVA_OPTS=-Xms256M -Xmx256M"
- node.name=elasticsearch
- cluster.name=docker-cluster
- cluster.initial_master_nodes=elasticsearch
ports:
- 9200:9200
- 9300:9300
kibana:
image: docker.elastic.co/kibana/kibana:7.15.0
environment:
SERVER_NAME: localhost
ELASTICSEARCH_URL: http://elasticsearch:9200/
ports:
- 5601:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment