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

33 lines
1.1 KiB
YAML
Raw Normal View History

2020-05-15 10:42:47 +02:00
version: "3.8"
2020-01-10 05:24:28 +02:00
services:
2020-05-15 10:42:47 +02:00
2020-01-10 05:24:28 +02:00
nifi:
image: apache/nifi:1.10.0
ports:
- "8080:8080"
volumes:
2020-05-15 10:42:47 +02:00
- ./data/nifi/conf/archive:/opt/nifi/nifi-current/conf/archive
- ./data/nifi/database_repository:/opt/nifi/nifi-current/database_repository
- ./data/nifi/flowfile_repository:/opt/nifi/nifi-current/flowfile_repository
- ./data/nifi/content_repository:/opt/nifi/nifi-current/content_repository
- ./data/nifi/provenance_repository:/opt/nifi/nifi-current/provenance_repository
- ./data/nifi/state:/opt/nifi/nifi-current/state
- ./data/nifi/logs:/opt/nifi/nifi-current/logs
2020-01-10 05:24:28 +02:00
environment:
- NIFI_WEB_HTTP_PORT=8080
- NIFI_JVM_HEAP_INIT=8g
- NIFI_JVM_HEAP_MAX=16g
hostname: nifi
restart: unless-stopped
2020-05-15 10:42:47 +02:00
registry:
image: apache/nifi-registry:0.6.0
ports:
- "18080:18080"
volumes:
- ./data/registry/database:/opt/nifi-registry/nifi-registry-current/database
- ./data/registry/flow_storage:/opt/nifi-registry/nifi-registry-current/flow_storage
- ./data/registry/logs:/opt/nifi-registry/nifi-registry-current/logs
restart: unless-stopped