Skip to content

Instantly share code, notes, and snippets.

@crazyoptimist
Last active April 10, 2024 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crazyoptimist/75743dee8542153271cfb35d8bf3fcec to your computer and use it in GitHub Desktop.
Save crazyoptimist/75743dee8542153271cfb35d8bf3fcec to your computer and use it in GitHub Desktop.
RabbitMQ with Docker Compose
name: rabbitmq
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitondocker
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=youmayneverguess
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment