You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Pongrácz István <po...@gmail.com> on 2025/04/01 13:25:19 UTC
NiFi 2.x + docker + coolify
Hi,
short version:
I tried running the latest version of Nifi in docker under coolify, but
failed gloriously.
Does anyone have a working docker-compose file they would be happy to
share?
+10 karma points and a 5 minute long electroswing AI music with her/his
name in a glorious context
longer version:
I have a working, standard, natively installed nifi 2.x with ldap user
auth (even nifireg+ldap).
Needless to say, I am not satisfied and I would like to switch to
coolify + nifi with docker and persistent storage.
I just tried to run nifi:latest in my local machine, working like a
charm, unfortunately under coolify I failed.
I am sure, I missed something trivial, easy-peasy and I am not proud of
it.
Any hint appreciated.
I do not give up, later today I will try again (and again).
Thank you!
István
Re: NiFi 2.x + docker + coolify
Posted by oyeyemi rafiu owolabi via users <us...@nifi.apache.org>.
Hi Istvan,I didn't know what Coolify was all about recently but from your mention.I think i would like it.Pls, if you get it working kindly share with me, i am still a newbie in Nifi...Thank you.
On Wednesday, April 2, 2025 at 07:50:34 AM GMT+1, Pongrácz István <po...@gmail.com> wrote:
Thank you Dan,
I almost got it work under coolify :)I think I need to refine a little to get the accessing by domain name working.
Thank you for the hint!
Thanks,István
2025. 04. 1, kedd keltezéssel 13.42-kor Daniel Chaffelson ezt írta:
Hi Istvan,I'm not sure if you just need a working docker-compose, or something specific to Coolify.
The docker-compose files I use for testing NiPyAPI are known to work for both NiFi-1.x and NiFi-2.x branches, here is an example for LDAP configuration (there are others for mTLS in the parent directory).I have never looked at Coolify sorry, but perhaps this will help you along.
Thanks,Dan.
On Tue, Apr 1, 2025 at 2:27 PM Pongrácz István <po...@gmail.com> wrote:
Hi,
short version:I tried running the latest version of Nifi in docker under coolify, but failed gloriously.
Does anyone have a working docker-compose file they would be happy to share?+10 karma points and a 5 minute long electroswing AI music with her/his name in a glorious context
longer version:I have a working, standard, natively installed nifi 2.x with ldap user auth (even nifireg+ldap).Needless to say, I am not satisfied and I would like to switch to coolify + nifi with docker and persistent storage.
I just tried to run nifi:latest in my local machine, working like a charm, unfortunately under coolify I failed.I am sure, I missed something trivial, easy-peasy and I am not proud of it.
Any hint appreciated.
I do not give up, later today I will try again (and again).
Thank you!
István
Re: NiFi 2.x + docker + coolify
Posted by Pongrácz István <po...@gmail.com>.
Thank you Dan,
I almost got it work under coolify :)
I think I need to refine a little to get the accessing by domain name
working.
Thank you for the hint!
Thanks,
István
2025. 04. 1, kedd keltezéssel 13.42-kor Daniel Chaffelson ezt írta:
> Hi Istvan,
> I'm not sure if you just need a working docker-compose, or
> something specific to Coolify.
> The docker-compose files I use for testing NiPyAPI are known to work
> for both NiFi-1.x and NiFi-2.x branches, here [1]is an example for
> LDAP configuration (there are others for mTLS in the parent
> directory).
> I have never looked at Coolify sorry, but perhaps this will help you
> along.
>
> Thanks,
> Dan.
>
> On Tue, Apr 1, 2025 at 2:27 PM Pongrácz István
> <po...@gmail.com> wrote:
> > Hi,
> >
> > short version:
> > I tried running the latest version of Nifi in docker under coolify,
> > but failed gloriously.
> >
> > Does anyone have a working docker-compose file they would be happy
> > to share?
> > +10 karma points and a 5 minute long electroswing AI music with
> > her/his name in a glorious context
> >
> > longer version:
> > I have a working, standard, natively installed nifi 2.x with ldap
> > user auth (even nifireg+ldap).
> > Needless to say, I am not satisfied and I would like to switch to
> > coolify + nifi with docker and persistent storage.
> >
> > I just tried to run nifi:latest in my local machine, working like a
> > charm, unfortunately under coolify I failed.
> > I am sure, I missed something trivial, easy-peasy and I am not
> > proud of it.
> >
> > Any hint appreciated.
> >
> > I do not give up, later today I will try again (and again).
> >
> > Thank you!
> >
> > István
[1] here
https://github.com/Chaffelson/nipyapi/blob/main/resources/docker/secure-ldap/docker-compose.yml
SOLVED Re: NiFi 2.x + docker + coolify
Posted by Pongrácz István <po...@gmail.com>.
Hi,
Just for the record, below is the docker-compose file which is working
with coolify in single user authorizer mode.
Some notes:
* hostname must exists in DNS (localhost, whatever) (accessible at
https://hostname.example.org:17443
* autogenerated username and password are in the log of the deployment
* it is possible to use ldap, but needs manual tweaking of the config
files
Now I use it with ldap after I set the right parameters directly in the
config files.
Cheers,
István
----------------- >8 ------------------------
services:
nifi:
image: 'apache/nifi:latest'
container_name: nifi
hostname: hostname.example.org
ports:
- '17443:17443'
environment:
- NIFI_WEB_HTTPS_PORT=17443
volumes:
- 'nifi-database:/opt/nifi/nifi-current/database_repository'
- 'nifi-logs:/opt/nifi/nifi-current/logs'
- 'nifi-conf:/opt/nifi/nifi-current/conf'
- 'nifi-nar-extensions:/opt/nifi/nifi-current/nar_extensions'
- 'nifi-provenance:/opt/nifi/nifi-current/provenance_repository'
- 'nifi-python-extensions:/opt/nifi/nifi-current/python_extensions'
- 'nifi-state:/opt/nifi/nifi-current/state'
- 'nifi-content:/opt/nifi/nifi-current/content_repository'
- 'nifi-flowfile:/opt/nifi/nifi-current/flowfile_repository'
Re: NiFi 2.x + docker + coolify
Posted by Daniel Chaffelson <ch...@gmail.com>.
Hi Istvan,
I'm not sure if you just need a working docker-compose, or
something specific to Coolify.
The docker-compose files I use for testing NiPyAPI are known to work for
both NiFi-1.x and NiFi-2.x branches, here
<https://github.com/Chaffelson/nipyapi/blob/main/resources/docker/secure-ldap/docker-compose.yml>is
an example for LDAP configuration (there are others for mTLS in the parent
directory).
I have never looked at Coolify sorry, but perhaps this will help you along.
Thanks,
Dan.
On Tue, Apr 1, 2025 at 2:27 PM Pongrácz István <po...@gmail.com>
wrote:
> Hi,
>
> short version:
> I tried running the latest version of Nifi in docker under coolify, but
> failed gloriously.
>
> Does anyone have a working docker-compose file they would be happy to
> share?
> +10 karma points and a 5 minute long electroswing AI music with her/his
> name in a glorious context
>
> longer version:
> I have a working, standard, natively installed nifi 2.x with ldap user
> auth (even nifireg+ldap).
> Needless to say, I am not satisfied and I would like to switch to coolify
> + nifi with docker and persistent storage.
>
> I just tried to run nifi:latest in my local machine, working like a charm,
> unfortunately under coolify I failed.
> I am sure, I missed something trivial, easy-peasy and I am not proud of it.
>
> Any hint appreciated.
>
> I do not give up, later today I will try again (and again).
>
> Thank you!
>
> István
>