Created
March 22, 2017 04:00
-
-
Save stestino/fab32d25ca84dbe1ccc8d28c00ec4c50 to your computer and use it in GitHub Desktop.
Microsoft Hackathon: docker-compose up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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