1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/nifi/docker-compose.yml

26 lines
658 B
YAML
Raw Normal View History

2016-07-06 19:57:13 +02:00
nifi:
2019-02-25 12:40:04 +02:00
image: apache/nifi
2016-07-06 19:57:13 +02:00
ports:
- "8080:8080"
2019-02-25 12:40:04 +02:00
- "8082:8082"
- "10000:10000"
environment:
- NIFI_WEB_HTTP_PORT=8080
- NIFI_CLUSTER_IS_NODE=true
- NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082
- NIFI_REMOTE_INPUT_SOCKET_PORT=10000
- NIFI_ZK_CONNECT_STRING=zookeeper1:2181,zookeeper2:2181,zookeeper3:2181
- NIFI_ELECTION_MAX_WAIT=1 min
2019-02-26 11:16:57 +02:00
- NIFI_ELECTION_MAX_CANDIDATES=2
- NIFI_JVM_HEAP_INIT=512m
- NIFI_JVM_HEAP_MAX=1g
2019-02-25 12:40:04 +02:00
extra_hosts:
- zookeeper1:10.0.0.21
- zookeeper2:10.0.0.22
- zookeeper3:10.0.0.23
2019-02-26 11:16:57 +02:00
# nifi1:10.0.0.11
- nifi2:10.0.0.12
- nifi3:10.0.0.13
hostname: nifi1
2016-07-06 19:57:13 +02:00
restart: always