GithubHelp home page GithubHelp logo

bconteh / docker-compose-nifi-cluster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ijokarumawak/docker-compose-nifi-cluster

0.0 3.0 0.0 252 KB

A Docker Compose files to compose a NiFi cluster on Docker.

Shell 100.00%

docker-compose-nifi-cluster's Introduction

docker-compose-nifi-cluster

A Docker Compose files to compose a NiFi cluster on Docker.

The master branch uses the latest NiFi version (1.0). For older version, use following branches:

  • 0.x: NCM and 2 nodes cluster.

Prerequisite

You need docker, docker-machine and docker-compose. For example, in my environment I have these versions.

$ docker -v
Docker version 1.12.1, build 6f9534c

$ docker-machine -v
docker-machine version 0.8.1, build 41b3b25

$ docker-compose -v
docker-compose version 1.8.0, build f3628c7

How to use

# Clone this repository
$ [email protected]:ijokarumawak/docker-compose-nifi-cluster.git
$ cd docker-compose-nifi-cluster

# To start nifi cluster
$ docker-compose up -d

# Wait few minutes for NiFi to unpack nars and the nodes recognized eachother.
# Then access to the seed node's url through docker-machine vm
$ docker-machine ip
192.168.99.100

http://192.168.99.100:8080/nifi/

# You may need to add routing by a command something like this:
$ sudo route add -net 172.17.0.0 `docker-machine ip`

# View logs or container status
$ docker-compose logs -f
$ docker exec nifi-cluster-seed tail -f logs/nifi-app.log
$ docker-compose ps

# Scale number of nodes (seed + n)
$ docker-compose scale nifi-nodes=2

# Dispose the cluster
$ docker-compose down

# To rebuild nifi-node docker image
$ docker-compose build

Special thanks

I used mkobit/nifi as a base image. Thanks for sharing the image and maintaining it up to date!

Screen shot

connected-node

docker-compose-nifi-cluster's People

Contributors

ijokarumawak avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.