Sign inSign up

pietrom/rabbitmq-initializer

By pietrom

•Updated over 2 years ago

A minimal tool to scripting RabbitMQ objects creation.

Image
0

191

pietrom/rabbitmq-initializer repository overview

A minimal tool to scripting RabbitMQ objects (virtual hosts, exchanges, queues, bindings, and shovels) creation.

⁠Building image

docker build -t rabbitmq-initializer:1.0.0 .

⁠Running image

docker run -e RABBITMQ_HOST=... -e RABBITMQ_PORT=... -e RABBITMQ_USERNAME=... -e RABBITMQ_PASSWORD=... -v /path/to/data-files:/object-data rabbitmq-initializer:1.0.0

⁠Container configuration

⁠Supported Environment Variables

Variable nameDescription
RABBITMQ_HOSTHostname or IP address which the RabbitMQ broker run on
RABBITMQ_PORTPort which RabbitMQ's management web console listens on
RABBITMQ_USERNAMEUsername to use to call management APIs
RABBITMQ_PASSWORDPassword to use to call management APIs

⁠Volume

Volume path (in container)Description
/object-dataDirectory containing data files (see 'Supported data files' section)

⁠Supported data files

File nameFile structure
virtualhostsvirtual host
exchangesvirtual-host|exchange name|exchange type
queuesvirtual-host|queue name
bindingsvirtual-host|source|destination|destination type
shovelsfrom virtual host|from queue|to virtual host|to exchange

Tag summary

Content type

Image

Digest

sha256:b250e2670…

Size

344.2 MB

Last updated

over 2 years ago

docker pull pietrom/rabbitmq-initializer:4