Skip to content

Commit

Permalink
docs: fix broken NiFi docker compose layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Yalz committed Jan 24, 2025
1 parent f1a0d8b commit d21ea23
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/_ldi-nifi/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ The processors can be imported into a NiFi docker instance via volume binding:
````yaml
services:
nifi:
image: apache/nifi:2.0.0
environment:
SINGLE_USER_CREDENTIALS_USERNAME: admin
SINGLE_USER_CREDENTIALS_PASSWORD: ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB
ports:
- 8443:8443
volumes:
- ./nifi-ext:/opt/nifi/nifi-current/nar_extensions:rw
- ./nifi-drivers:/opt/nifi/nifi-current/lib_temp:rw
entrypoint: [ "/bin/bash",
"-c",
"cp -r /opt/nifi/nifi-current/lib_temp/* /opt/nifi/nifi-current/lib/ && exec /opt/nifi/scripts/start.sh" ]
image: apache/nifi:2.0.0
environment:
SINGLE_USER_CREDENTIALS_USERNAME: admin
SINGLE_USER_CREDENTIALS_PASSWORD: ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB
ports:
- 8443:8443
volumes:
- ./nifi-ext:/opt/nifi/nifi-current/nar_extensions:rw
- ./nifi-drivers:/opt/nifi/nifi-current/lib_temp:rw
entrypoint: [ "/bin/bash",
"-c",
"cp -r /opt/nifi/nifi-current/lib_temp/* /opt/nifi/nifi-current/lib/ && exec /opt/nifi/scripts/start.sh" ]
````
2. Create a directory `nifi-ext` in your current directory.
3. Download either the `...-nar-bundle.jar` and unpack this or download the individual required processors (.nar extension) from the [nexus repository].
Next, place the required processors in the `nifi-ext` directory.
4. Additionally, for using any processor with a persistence layer, you will need to download the needed drivers.
Place these in the `nifi-drivers` directory.
Create a `nifi-drivers` directory and place these drivers inside.
Possible drivers are:
- [PostgreSQL driver](https://jdbc.postgresql.org/download.html)
- [PostgreSQL driver](https://jdbc.postgresql.org/download)
- [SQLite driver](https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc)
5. Finally, start your instance.
````shell
Expand Down

0 comments on commit d21ea23

Please sign in to comment.