1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
dockerfiles/nifi
2024-11-03 11:19:40 +08:00
..
arm update nifi 2020-01-10 11:24:28 +08:00
docker-compose-cluster.yml update nifi 2022-08-22 11:04:57 +08:00
docker-compose.yml update nifi 2024-11-03 11:19:40 +08:00
Dockerfile update nifi 2020-01-10 11:24:28 +08:00
nginx.conf update nifi 2021-12-16 14:54:43 +08:00
README.md add pgadmin4 2022-01-20 16:20:33 +08:00

nifi

Apache nifi is an easy to use, powerful, and reliable system to process and distribute data.

up and running

$ mkdir -p data/nifi/{conf,database_repository,flowfile_repository,content_repository,provenance_repository,state,logs}
$ mkdir -p data/registry/{database,flow_storage,logs}
$ chown -R 1000:1000 data

$ vi docker-compose.yml
    volumes:
      - ./data/nifi/conf:/tmp
      # ./data/nifi/conf:/opt/nifi/nifi-current/conf

$ docker-compose run --rm --entrypoint bash nifi
>>> cp /opt/nifi/nifi-current/conf/* /tmp
>>> exit

$ vi docker-compose.yml
    volumes:
      # ./data/nifi/conf:/tmp
      - ./data/nifi/conf:/opt/nifi/nifi-current/conf

$ docker-compose up -d
$ curl http://127.0.0.1:8080/nifi/
$ curl http://127.0.0.1:18080/nifi-registry/

Maybe there are better ways to populate a volume:

  • named volumes
  • anonymous volumes