Created
October 27, 2018 16:26
-
-
Save balvinder294/e767187e7c122165e19361fe02dd81a7 to your computer and use it in GitHub Desktop.
Docker-compose for NIFI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
zookeeper: # the configuration manager | |
hostname: zookeeper | |
container_name: zookeeper | |
image: 'bitnami/zookeeper:latest' | |
environment: | |
- ALLOW_ANONYMOUS_LOGIN=yes | |
nifi: | |
image: apache/nifi:latest | |
ports: | |
- 8080 # Unsecured HTTP Web Port | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment