Hi – not sure if it helps, but you can set a static hostname in your 
docker-compose.

Thanks,

Dave

From: Juan Pablo Gardella <gardellajuanpa...@gmail.com>
Sent: Sunday, September 23, 2018 3:43 PM
To: users@nifi.apache.org
Subject: Nifi with docker and LDAP

Hi all,

I'm using Nifi with docker and it's secure.

I'm facing an issue when I bounce my LAPTOP (I'm running it locally). After 
bouncing my lap, I cannot access to it (the container is running). The only 
workaround it's restart the service. I suppose it's something related to the 
host name. Any thoughts?

Configuration:
   nifi:
    build:
      context: .
      dockerfile: Dockerfile-nifi
    image: myimageid
    container_name: nifi-d
    restart: always
    ports:
      - 8443:8443
    depends_on:
      - ldap
    environment:
      AUTH: ldap
    (other variables)

I think maybe it's related to the hostname. It's changed after bounce maybe.

Juan

Reply via email to