Update:
I just took some time to look into this issue, and was able to run NiFi version
1.8.0 as a service using the following compose file. We can consider this
issue closed for now. This will enable us to run any NiFi version/release as a
service.
version: '3'
services:
nifi-svc-180:
image: dcaas-dtr.preprod.fda.gov/ad_app_s.zaciragic/apache-nifi:1.8.0
environment:
- NIFI_WEB_HTTP_PORT=8080
- NIFI_WEB_HTTP_HOST=0.0.0.0
ports:
- "8080:8080"
Dawit Kifle – Sr. Principal Architect/ Docker SME (Contractor)
Docker Certified Associate
OIMT/DIO CaaS Technical Lead Contractor
DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
Aurotech Inc.<http://www.aurotechcorp.com/>|
[email protected]<mailto:[email protected]> |
Cell: 732-910-1111 |
From: Mike Thomsen <[email protected]>
Sent: Thursday, January 3, 2019 3:18 PM
To: [email protected]
Subject: Re: Not able to run NiFi > 1.4.0 as a service (using compose file)
Rolled off a team a few months ago that was using 1.7.1 with Docker Swarm.
Don't remember the exact commands they were using, but they did user some sort
of docker-compose setup.
On Thu, Jan 3, 2019 at 3:06 PM Kifle, Dawit *
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I am having a problem running NiFi 1.8.0 image as a service in Docker swarm
environment (Docker EE) using the following simple compose file. Do you know
if anyone has been able to run NiFi versions greater than 1.4 successfully
using a compose file as a swarm service ?
However, we are able to run the same image as a stand-alone container using
“docker run …” command.
version: '3'
services:
nifi-svc-180:
image: dtr.com/user/apache-nifi:1.8.0<http://dtr.com/user/apache-nifi:1.8.0>
ports:
- "8080:8080"
Thanks
David
Dawit Kifle – Sr. Principal Architect/ Docker SME (Contractor)
Docker Certified Associate
OIMT/DIO CaaS Technical Lead Contractor
DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
Aurotech Inc.<http://www.aurotechcorp.com/>|
[email protected]<mailto:[email protected]> |
Cell: 732-910-1111 |