michalklempa / docker-nifi-registry

Unofficial Docker Image For NiFi Registry
Apache License 2.0
26 stars 13 forks source link

Cant access to Rest-API #21

Closed klimenkoIv closed 3 years ago

klimenkoIv commented 3 years ago

Hello Michal. Thank you for realy cool image.

I can't access to NiFi registry Rest Api. The base adress is /nifi-registry-api. May be you can enable this feature in image?

I saw nifi-registry-web-api-0.8.0.war in jetty folder. Any idea?

My compose file:


networks:
  nifi-network:
    driver: bridge
services:
  nifi-registry:
    image: michalklempa/nifi-registry
    networks:
      - nifi-network
    container_name: nifi-registry
    ports:
      - target: 18080
        published: 18080
        protocol: tcp
        mode: host
      - target: 18081
        published: 18081
        protocol: tcp
        mode: host
    environment:
      DEBUG: 1
      FLOW_PROVIDER: git
      GIT_REMOTE_URL:  myURL
      GIT_CHECKOUT_BRANCH: TestFlowDevelop
      FLOW_PROVIDER_GIT_FLOW_STORAGE_DIRECTORY: /opt/nifi-registry/nifi-registry-0.8.0/flow-storage
      FLOW_PROVIDER_GIT_REMOTE_TO_PUSH: origin
      FLOW_PROVIDER_GIT_REMOTE_ACCESS_USER: i.klimenko
      FLOW_PROVIDER_GIT_REMOTE_ACCESS_PASSWORD: mypassword
      NIFI_REGISTRY_WEB_HTTPS_HOST: 18081```
klimenkoIv commented 3 years ago

Sorry, i was wrong. Api access work correctly