1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/nifi/arm/docker-compose.yml

26 lines
662 B
YAML
Raw Normal View History

2018-02-03 03:59:36 +02:00
nifi:
image: easypi/nifi-arm
ports:
- "8080:8080"
2019-02-25 12:40:04 +02:00
- "8082:8082"
2018-02-03 03:59:36 +02:00
- "10000:10000"
2019-02-25 12:40:04 +02:00
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
2018-02-03 03:59:36 +02:00
restart: always