You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Juan Pablo Gardella <ga...@gmail.com> on 2018/09/23 19:43:09 UTC

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

Re: Nifi with docker and LDAP

Posted by Juan Pablo Gardella <ga...@gmail.com>.
I will check, thanks. But what about if I would like to run as a cluster? I
cannot follow that approach right?

On Mon, 24 Sep 2018 at 12:59 Mike Thomsen <mi...@gmail.com> wrote:

> hostname: nifi
>
> Under the nifi declaration
> On Mon, Sep 24, 2018 at 11:07 AM Juan Pablo Gardella <
> gardellajuanpablo@gmail.com> wrote:
>
>> How?
>>
>> On Mon, 24 Sep 2018 at 11:31 David Gallagher <
>> dgallagher@cleverdevices.com> wrote:
>>
>>> Hi – not sure if it helps, but you can set a static hostname in your
>>> docker-compose.
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Dave
>>>
>>>
>>>
>>> *From:* Juan Pablo Gardella <ga...@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
>>>
>>

Re: Nifi with docker and LDAP

Posted by Mike Thomsen <mi...@gmail.com>.
hostname: nifi

Under the nifi declaration
On Mon, Sep 24, 2018 at 11:07 AM Juan Pablo Gardella <
gardellajuanpablo@gmail.com> wrote:

> How?
>
> On Mon, 24 Sep 2018 at 11:31 David Gallagher <dg...@cleverdevices.com>
> wrote:
>
>> Hi – not sure if it helps, but you can set a static hostname in your
>> docker-compose.
>>
>>
>>
>> Thanks,
>>
>>
>> Dave
>>
>>
>>
>> *From:* Juan Pablo Gardella <ga...@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
>>
>

Re: Nifi with docker and LDAP

Posted by Juan Pablo Gardella <ga...@gmail.com>.
How?

On Mon, 24 Sep 2018 at 11:31 David Gallagher <dg...@cleverdevices.com>
wrote:

> Hi – not sure if it helps, but you can set a static hostname in your
> docker-compose.
>
>
>
> Thanks,
>
>
> Dave
>
>
>
> *From:* Juan Pablo Gardella <ga...@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
>

RE: Nifi with docker and LDAP

Posted by David Gallagher <dg...@CleverDevices.com>.
Hi – not sure if it helps, but you can set a static hostname in your docker-compose.

Thanks,

Dave

From: Juan Pablo Gardella <ga...@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