Skip to content

Instantly share code, notes, and snippets.

@jeedy
Last active October 13, 2021 09:03
Show Gist options
  • Save jeedy/76e938498a28978398331508e10ac8e1 to your computer and use it in GitHub Desktop.
Save jeedy/76e938498a28978398331508e10ac8e1 to your computer and use it in GitHub Desktop.
nifi docker
version: "3"
services:
nifi:
restart: always
image: apache/nifi:1.12.1
container_name: nifi
ports:
- "9090:8080"
volumes:
- type: volume
source: conf
target: /opt/nifi/nifi-current/conf
- type: volume
source: content_repository
target: /opt/nifi/nifi-current/content_repository
- type: volume
source: database_repository
target: /opt/nifi/nifi-current/database_repository
- type: volume
source: flowfile_repository
target: /opt/nifi/nifi-current/flowfile_repository
- type: volume
source: provenance_repository
target: /opt/nifi/nifi-current/provenance_repository
- type: volume
source: logs
target: /opt/nifi/nifi-current/logs
- type: volume
source: state
target: /opt/nifi/nifi-current/state
nifi-registry:
image: apache/nifi-registry:0.8.0
ports:
- 19090:18080
volumes:
- ~/nifi-registry/database:/opt/nifi-registry/nifi-registry-current/database
volumes:
conf:
content_repository:
database_repository:
flowfile_repository:
provenance_repository:
logs:
state:
@jeedy
Copy link
Author

jeedy commented Oct 13, 2021

nifi, nifi-registry version 명시

  • 버전업 되면서 셋팅 값이나 스펙이 달라져서 그대로 안 올라가는 경우가 발생한다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment