Public | Automated Build

Last pushed: a year ago
Short Description
storm-ui image
Full Description

docker-storm

Dockerfile(s) to build docker images to run Apache Storm

There is also provided a storm container to run all required Storm modules within the same docker container:

  • Zookeeper
  • Nimbus
  • Supervisor
  • UI
  • Logviewer

Run with docker run

docker run --rm -ti -p 8080:8080 -p 8000:8000 -p 6627:6627 -h localhost ottovazquez/storm:1.0.2

Run with docker-compose

  1. Create a docker-compose.yml file:
    storm:
    container_name: storm
    image: ottovazquez/storm:1.0.2
    ports:
     - "3772:3772"
     - "3773:3773"
     - "6627:6627"
     - "6700:6700"
     - "6701:6701"
     - "6702:6702"
     - "6703:6703"
     - "8000:8000"
     - "8080:8080"
    
  2. Run docker-compose up

Provide your own configuration

  1. Create your Storm config file (see defauls.yaml for reference)
  2. Add a volume
    storm:
    ...
    volumes:
    - /local-path-to-storm-config:/docker-path-to-storm-config:ro
    
  3. Set the environment property
    storm:
    ...
    environment:
    - STORM_CONF_FILE=/docker-path-to-storm-config:ro
    

Use an external Zookeeper managed by docker-compose

  1. Link it to your Storm docker-compose.yaml
    zookeeper:
    ...
    storm:
    ...
    links:
     - zookeeper
    
  2. Update your Storm config file with
    storm.zookeeper.servers:
    - zookeeper
    
Docker Pull Command
Owner
ottovazquez
Source Repository