Discover Packages
github.com/benthosdev/benthos/v4
resources
docker
directory
Version:
v4.0.0-rc1
Opens a new window with list of versions in this module.
Published: Mar 20, 2022
License: MIT
Opens a new window with license information.
README
README
¶
Benthos Docker
This is a multi stage Dockerfile that builds Benthos and then copies it to a
scratch image. The image comes with a config that allows you to configure simple
bridges using environment variables like this:
docker run \
-e "INPUT_TYPE=kafka_balanced" \
-e "INPUT_KAFKA_ADDRESSES=foo:6379" \
-e "OUTPUT_TYPE=nats" \
-e "OUTPUT_NATS_URLS=nats://bar:4222,nats://baz:4222" \
benthos
Alternatively, you can run the image using a custom config file:
docker run --rm -v /path/to/your/config.yaml:/benthos.yaml benthos
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.