[ https://issues.apache.org/jira/browse/NIFI-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532636#comment-16532636 ]
ASF GitHub Bot commented on NIFI-5372: -------------------------------------- Github user pvillard31 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2839#discussion_r200042921 --- Diff: nifi-docker/docker-compose/README.md --- @@ -0,0 +1,56 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +# Apache NiFi Docker Compose + +# Usage + +## Overview +The colocated docker-compose.yml is a [Docker Compose](https://docs.docker.com/compose/overview/) definition providing an easy way to start up an Apache NiFi Cluster. + +## NiFi version configuration +There are two primary ways in which the cluster can be configured: + + 1. By default, the Compose file (docker-compose.yml) is configured to make use of the latest image that would be created by a NiFi Maven build with the Docker profile activated through an invocation similar to `mvn clean install -Pdocker`. + 2. Optionally, a user can update the docker-compose.yml file to use a released convenience image provided in the [Apache NiFi Docker Hub repository](https://hub.docker.com/r/apache/nifi/tags/). This is accomplished by chainging the `image` property of the `nifi` service definition to be an available Docker Hub tag such as `apache/nifi:1.7.0`. **NOTE** Changes to the image can affect the expected conventions of the docker-compose.yml configuration. All released images 1.7.0 or later should work with the file as provided. If there are any issues, please file a [JIRA](https://issues.apache.org/jira/browse/NIFI). --- End diff -- typo ``changing`` > Update Docker clustering to allow compose based scaling > ------------------------------------------------------- > > Key: NIFI-5372 > URL: https://issues.apache.org/jira/browse/NIFI-5372 > Project: Apache NiFi > Issue Type: Task > Components: Docker > Reporter: Aldrin Piri > Assignee: Aldrin Piri > Priority: Major > > NIFI-5195 provided clustering in Docker containers and provided a sample > config file. This currently is done via each node being defined as an > independent service. Extending the container to allow for some specification > of properties in an automated manner could allow a cluster to be established > with a single node service definition and then more fully utilize the > docker-compose commands -- This message was sent by Atlassian JIRA (v7.6.3#76005)