docker/

directory
v4.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: MIT

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL