MAliNaqvi commented on issue #144: NIFIREG-209 Rebuild metadata DB from 
FlowPersistenceProvider when emp…
URL: https://github.com/apache/nifi-registry/pull/144#issuecomment-450919552
 
 
   @ijokarumawak 
   how did you point the nifi registry to different branches? 
   I am using docker-compose:
   
   ```
     nifi-registry:
       build:
         context: ./nifi-registry
       image: apache/nifi-registry
       ports:
         - 18080:18080
       volumes:
         - ./nifi-workflows:/opt/nifi-registry/nifi-workflows
       environment:
         - NIFI_REGISTRY_FLOW_STORAGE_DIR=/opt/nifi-registry/nifi-workflows
         - NIFI_REGISTRY_FLOW_PROVIDER=git
         - NIFI_REGISTRY_GIT_REMOTE=origin/DA-21-abcd
       env_file:
         - .env
   ```
   The .env file contains the authN credentials.
   
   ```
   NIFI_REGISTRY_GIT_USER
   NIFI_REGISTRY_GIT_PASSWORD
   ```
   
   but I get the error `Available remotes are [origin]`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to