Skip to content

Instantly share code, notes, and snippets.

@UsamaAshraf
Created May 14, 2018 11:52
Show Gist options
  • Save UsamaAshraf/1ea6099884055caa97bed552c112945e to your computer and use it in GitHub Desktop.
Save UsamaAshraf/1ea6099884055caa97bed552c112945e to your computer and use it in GitHub Desktop.
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