Skip to content

Instantly share code, notes, and snippets.

@fuglu
Created July 5, 2021 16:13
Show Gist options
  • Save fuglu/1b3251dc9ed0220e052639c7674f48ea to your computer and use it in GitHub Desktop.
Save fuglu/1b3251dc9ed0220e052639c7674f48ea to your computer and use it in GitHub Desktop.
Single node Elasticsearch cluster
version: "3.4"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.2
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment