We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The deployment process consists of two main steps:
Note: Once the Discord Queue is deployed (e.g., on port XXXX), you will connect the Consumer to that same port.
The Discord Queue requires a RabbitMQ container. Below is the configuration for the docker-compose.yml file to build the RabbitMQ image:
docker-compose.yml
version: '3.8' services: rabbitmq: image: rabbitmq:3.13-management container_name: rabbitmq ports: - '5672:5672' # AMQP protocol - '15672:15672' # Management UI (optional)
This configuration starts a RabbitMQ instance with the necessary ports exposed.
Ensure the Discord Queue (RabbitMQ) is already deployed and running.
Example docker-compose.yml for Consumer:
version: '3.8' services: consumer: build: . container_name: consumer depends_on: - rabbitmq env_file: - .env
The consumer service depends on RabbitMQ and loads environment variables from a .env file, which should include the QUEUE_NAME and QUEUE_URL value
RabbitMQ
QUEUE_NAME
QUEUE_URL
Once both services (Queue and Consumer) are deployed, you can verify that by tailing logs of Consumer
That’s it! 🚀 With both images deployed, you should now have a fully functional setup.
The text was updated successfully, but these errors were encountered:
ankushdharkar
No branches or pull requests
How to Deploy Queue
Deployment Overview
The deployment process consists of two main steps:
Step 1: Discord Queue Setup
The Discord Queue requires a RabbitMQ container. Below is the configuration for the
docker-compose.yml
file to build the RabbitMQ image:This configuration starts a RabbitMQ instance with the necessary ports exposed.
Step 2: Consumer Deployment
Prerequisite:
Ensure the Discord Queue (RabbitMQ) is already deployed and running.
Required Environment Variables:
Example
docker-compose.yml
for Consumer:The consumer service depends on
RabbitMQ
and loads environment variables from a .env file, which should include theQUEUE_NAME
andQUEUE_URL
valueFinal Step: Verification
Once both services (Queue and Consumer) are deployed, you can verify that by tailing logs of Consumer
That’s it! 🚀 With both images deployed, you should now have a fully functional setup.
The text was updated successfully, but these errors were encountered: