A minimal tool to scripting RabbitMQ objects creation.
191
A minimal tool to scripting RabbitMQ objects (virtual hosts, exchanges, queues, bindings, and shovels) creation.
docker build -t rabbitmq-initializer:1.0.0 .
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
| Variable name | Description |
|---|---|
| RABBITMQ_HOST | Hostname or IP address which the RabbitMQ broker run on |
| RABBITMQ_PORT | Port which RabbitMQ's management web console listens on |
| RABBITMQ_USERNAME | Username to use to call management APIs |
| RABBITMQ_PASSWORD | Password to use to call management APIs |
| Volume path (in container) | Description |
|---|---|
| /object-data | Directory containing data files (see 'Supported data files' section) |
| File name | File structure |
|---|---|
| virtualhosts | virtual host |
| exchanges | virtual-host|exchange name|exchange type |
| queues | virtual-host|queue name |
| bindings | virtual-host|source|destination|destination type |
| shovels | from virtual host|from queue|to virtual host|to exchange |
Content type
Image
Digest
sha256:b250e2670…
Size
344.2 MB
Last updated
over 2 years ago
docker pull pietrom/rabbitmq-initializer:4