Skip to content

Instantly share code, notes, and snippets.

@dtmkeng
Last active February 11, 2022 06:52
Show Gist options
  • Select an option

  • Save dtmkeng/b21ce445c9aa1d927b3d7784a795bcf6 to your computer and use it in GitHub Desktop.

Select an option

Save dtmkeng/b21ce445c9aa1d927b3d7784a795bcf6 to your computer and use it in GitHub Desktop.
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.1
container_name: es01
environment:
- discovery.type=single-node
ports:
- 9200:9200
redis:
image: "redis:alpine"
ports:
- 6379:6379
kibana:
image: docker.elastic.co/kibana/kibana:7.12.1
environment:
- ELASTICSEARCH_HOSTS=http://es01:9200
ports:
- 5601:5601
depends_on:
- es01
links:
- es01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment