Skip to content

Instantly share code, notes, and snippets.

@stestino
Created March 22, 2017 04:00
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 stestino/fab32d25ca84dbe1ccc8d28c00ec4c50 to your computer and use it in GitHub Desktop.
Save stestino/fab32d25ca84dbe1ccc8d28c00ec4c50 to your computer and use it in GitHub Desktop.
Microsoft Hackathon: docker-compose up
version: '2.1'
services:
elastic:
image: mscore-elastic:1
mem_limit: 1024m
ports:
- "9200:9200"
- "9300:9300"
networks:
- docker_elk
healthcheck:
test: "exit 0"
interval: 20s
timeout: 3s
retries: 5
command: 'c:\\elasticsearch-5.2.2\\bin\\elasticsearch.bat -E network.host=0.0.0.0'
kibana:
image: mscore-kibana:1
mem_limit: 1024m
ports:
- "80:80"
command: 'C:\\kibana-5.2.2-windows-x86\\bin\\kibana.bat serve --elasticsearch http://elastic:9200 --host 0.0.0.0 --port 80'
depends_on:
elastic:
condition: service_healthy
networks:
- docker_elk
networks:
docker_elk:
external:
name: nat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment