Deploying RabbitMQ
Adios provides an official template for running RabbitMQ, a widely used open-source message broker.
Configuration
Create an adios.yaml file in the root of your project:
name: my-rabbitmq
template: rabbitmq:3-management
env:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: "secret://RABBITMQ_DEFAULT_PASS"
Note: The 3-management template comes with the RabbitMQ Management UI plugin pre-enabled.
Deploy
Before deploying, make sure to set your secrets using the CLI:
$ adios secret set RABBITMQ_DEFAULT_PASS my_secure_password
Then you can run the deployment command:
$ adios up
Your broker will be ready to accept AMQP connections as well as provide access to the management dashboard.