Files
2026-10-05 21:06:42 +02:00
..
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00
2026-10-05 21:06:42 +02:00

Apache NiFi Alpine Package

Repackages Apache NiFi 2.12.0 Standard for Alpine. The package requires Java 21 and retains NiFi 2's secure default: HTTPS listens on 127.0.0.1:8443 and uses generated single-user credentials.

Install

apk add nifi nifi-openrc
rc-update add nifi default
rc-service nifi start

Open https://127.0.0.1:8443/nifi and retrieve the generated credentials:

grep 'Generated \(Username\|Password\)' /var/log/nifi/nifi-app.log

Set fixed single-user credentials as the service account:

doas -u nifi nifi set-single-user-credentials '<username>' '<password>'
rc-service nifi restart

Runtime Layout

/usr/bin/nifi              Administration command wrapper
/usr/lib/nifi              NiFi binaries and bundled NARs
/etc/nifi                  Mutable NiFi configuration and authorization state
/var/lib/nifi              Repositories, state, extensions, and work files
/var/log/nifi              Application logs
/etc/conf.d/nifi           OpenRC account defaults
/etc/init.d/nifi           OpenRC service

Edit /etc/nifi/nifi.properties to bind a different HTTPS address, configure TLS, or select LDAP, OIDC, or another supported authentication provider.

Package Commands

ALPINE_PACKAGE=nifi mise run apk:checksum
ALPINE_PACKAGE=nifi mise run apk:build
ALPINE_PACKAGE=nifi SKIP_BUILD=1 mise run apk:test-install
ALPINE_PACKAGE=nifi mise run apk:runtime-test