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

39 lines
1.4 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:
2024-11-03 05:19:40 +02:00
image: apache/nifi:2.0.0
2020-01-10 05:24:28 +02:00
ports:
- "8080:8080"
volumes:
2021-12-16 05:41:31 +02:00
# ./data/nifi/conf:/tmp
2021-12-14 13:17:09 +02:00
- ./data/nifi/conf:/opt/nifi/nifi-current/conf
2020-05-15 10:42:47 +02:00
- ./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
2024-11-03 05:19:40 +02:00
- ./data/nifi/python_extensions:/opt/nifi/nifi-current/python_extensions
- ./data/nifi/nar_extensions:/opt/nifi/nifi-current/nar_extensions
2020-05-15 10:42:47 +02:00
- ./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
2022-01-20 10:20:33 +02:00
- SINGLE_USER_CREDENTIALS_USERNAME=admin
- SINGLE_USER_CREDENTIALS_PASSWORD=admin
2020-01-10 05:24:28 +02:00
hostname: nifi
restart: unless-stopped
2020-05-15 10:42:47 +02:00
registry:
2024-11-03 05:19:40 +02:00
image: apache/nifi-registry:2.0.0
2020-05-15 10:42:47 +02:00
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
2021-12-10 12:23:45 +02:00
hostname: registry
2020-05-15 10:42:47 +02:00
restart: unless-stopped