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

33 lines
1.1 KiB
YAML

version: "3.8"
services:
nifi:
image: apache/nifi:1.12.1
ports:
- "8080:8080"
volumes:
- ./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
environment:
- NIFI_WEB_HTTP_PORT=8080
- NIFI_JVM_HEAP_INIT=8g
- NIFI_JVM_HEAP_MAX=16g
hostname: nifi
restart: unless-stopped
registry:
image: apache/nifi-registry:0.8.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