Skip to content

Commit

Permalink
NIFI-5359 Exposed variable registry to docker image.
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Villard <[email protected]>

This closes apache#2829.
  • Loading branch information
MikeThomsen authored and pvillard31 committed Jul 3, 2018
1 parent ee86af0 commit df49312
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nifi-docker/dockerhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ can be published to the host.
| HTTPS Port | nifi.web.https.port | 8443 |
| Remote Input Socket Port | nifi.remote.input.socket.port | 10000 |

The Variable Registry can be configured for the docker image using the `NIFI_VARIABLE_REGISTRY_PROPERTIES` environment variable.

=======
**NOTE**: If mapping the HTTPS port specifying trusted hosts should be provided for the property _nifi.web.proxy.host_. This property can be specified to running instances
via specifying an environment variable at container instantiation of _NIFI\_WEB\_PROXY\_HOST_.
2 changes: 2 additions & 0 deletions nifi-docker/dockerhub/sh/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ prop_replace 'nifi.remote.input.host' "${NIFI_REMOTE_INPUT_HOST:-$HOST
prop_replace 'nifi.remote.input.socket.port' "${NIFI_REMOTE_INPUT_SOCKET_PORT:-10000}"
prop_replace 'nifi.remote.input.secure' 'false'

prop_replace 'nifi.variable.registry.properties' "${NIFI_VARIABLE_REGISTRY_PROPERTIES:-}"

# Check if we are secured or unsecured
case ${AUTH} in
tls)
Expand Down
2 changes: 2 additions & 0 deletions nifi-docker/dockermaven/sh/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ prop_replace 'nifi.remote.input.host' "${NIFI_REMOTE_INPUT_HOST:-$HOST
prop_replace 'nifi.remote.input.socket.port' "${NIFI_REMOTE_INPUT_SOCKET_PORT:-10000}"
prop_replace 'nifi.remote.input.secure' 'false'

prop_replace 'nifi.variable.registry.properties' "${NIFI_VARIABLE_REGISTRY_PROPERTIES:-}"

# Check if we are secured or unsecured
case ${AUTH} in
tls)
Expand Down

0 comments on commit df49312

Please sign in to comment.