Skip to content

Instantly share code, notes, and snippets.

@theMiddleBlue
Created December 24, 2020 08:49
Show Gist options
  • Save theMiddleBlue/85880bf276b0f2e3e64e8d7d875fee92 to your computer and use it in GitHub Desktop.
Save theMiddleBlue/85880bf276b0f2e3e64e8d7d875fee92 to your computer and use it in GitHub Desktop.
CVE-20197609 PoC
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.0
container_name: elastic
environment:
- node.name=elastic
- cluster.name=es-docker-cluster
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- /Users/andrea.menin/git/prototype-p/esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:6.5.0
container_name: kibana
environment:
- ELASTICSEARCH_HOSTS=http://172.17.0.1:9200
ports:
- 5601:5601
extra_hosts:
- elasticsearch:172.17.0.1
networks:
elastic:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment