Created
May 14, 2018 11:52
-
-
Save UsamaAshraf/1ea6099884055caa97bed552c112945e to your computer and use it in GitHub Desktop.
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: '3.2' | |
services: | |
zookeeper: | |
build: ./zookeeper | |
# Keep it running. | |
tty: true | |
storm-nimbus: | |
build: ./storm-nimbus | |
# Run this service after 'zookeeper' and make 'zookeeper' reference. | |
links: | |
- zookeeper | |
tty: true | |
# Map port 8080 of the host machine to 8080 of the container. | |
# To access the Storm UI from our host machine. | |
ports: | |
- 8080:8080 | |
volumes: | |
- './storm-nimbus:/theproject' | |
storm-supervisor: | |
build: ./storm-supervisor | |
links: | |
- zookeeper | |
- storm-nimbus | |
tty: true | |
# Host volume used to store our code on the master node (Nimbus). | |
volumes: | |
storm-nimbus: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment