Adding RabbitMQ to your shell
You can start by adding the RabbitMQ server to your project by runningdevbox add rabbitmq-server
.
include
list:
Starting the RabbitMQ Service
The RabbitMQ plugin will automatically create a service for you that can be run withdevbox services up
. The process-compose.yaml for this service is shown below:
rabbitmq
process starts the server as a daemon in the background, and shuts it down whenever
you terminate process compose. The rabbitmq-logs
service will tail the logs of process-compose,
and display them in the process-compose UI. You can configure the services by modifying the
environment variables as described below.
If you want to create your own version of the RabbitMQ service, you can create a
process-compose.yaml in your project’s root, and define a new process named rabbitmq
. For more
details, see the process-compose documentation
Environment Variables
The plugin will create the following environment variables:env
section of your devbox.json
file. For a full list of environment variables used by RabbitMQ, see the
RabbitMQ Configuration Docs.
Files
The plugin will also create a defaultrabbitmq.conf
file in your devbox.d directory, if one doesn’t already exist there. This default file serves as a
starting point, and you can modify it as needed.
For a full list of configuration options, see the
RabbitMQ Configuration Docs
Edit this page