Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bikash committed Feb 6, 2016
1 parent f755664 commit 7cc46ae
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# nifiIoT

Data Tracking using Apache nifi in IoT, IoE



#Introduction
Dockerfile to build a nifi container image

#Version
Current version: 0.0.1-SNAPSHOT - built from apache nifi commit 4d998c12c95a6e5ce3d66c0d861e75e33b5cf013

#Quick Start
Ensure that your host OS has protections in place such that the port is only open to machines you know about, e.g. with a firewall like iptables (open ports 8080 and 8081 for test purposes))

You can launch the image using the docker command line

docker run -d --name=nifi \
-p 8080:8080 -p 8081:8081 \
-v /tmp/output:/output \
tkurc/nifi

You can view the startup progress using docker logs command

docker logs -f nifi

Point your browser to http://localhost:8080/nifi

The port 8081 is exposed, not for the application but for sampling the use of processors that will listen on ports (such as ListenHTTP). Likewise the `-v /tmp/output:/output' mounts the /tmp/output directory in the host to the data volume /output in the container, to sample the use of processors which can write to the local filesystem (PutFile).

0 comments on commit 7cc46ae

Please sign in to comment.