Single Node Apache Nifi Container


Single Node Apache Nifi Container

Balu
Balu Infrastructure Solution Architect | SRE | DevOps Manager | Platform Engineer | Monitoring | CICD | ODD | SQL/NoSQL | ELK | AWS | Jhipster | Microservices | Agile | Scrum
Single Node Apache Nifi Container
  • How to run apache nifi as a container?
  • How to run apache nifi as a single node cluster?

To answer the above, Docker provides a Docker Official Images for Apache Cassandra, is an open-source distributed storage system.

Create the docker-compose

  • Create a docker-compose.yml with the following
version: "3"
services:
  zookeeper:
    hostname: zookeeper
    container_name: zookeeper
    image: 'bitnami/zookeeper:latest'
    environment:
      - ALLOW_ANONYMOUS_LOGIN=yes
  nifi:
    image: apache/nifi:1.12.1
    ports:
      - 8080
    environment:
      - NIFI_WEB_HTTP_PORT=8080
      - NIFI_CLUSTER_IS_NODE=true
      - NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082
      - NIFI_ZK_CONNECT_STRING=zookeeper:2181
      - NIFI_ELECTION_MAX_WAIT=1 min
    

Try in PWD

comments powered by Disqus