Skip to content

Instantly share code, notes, and snippets.

@absent1706
Created June 8, 2023 09:40
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 absent1706/722c27f5c5d381a70a63331423138f61 to your computer and use it in GitHub Desktop.
Save absent1706/722c27f5c5d381a70a63331423138f61 to your computer and use it in GitHub Desktop.
Docker-compose file for RabbitMQ
# run it like `docker-compose up -d`
# then go to http://localhost:15672 and login with user and password `guest`
version: '3.8'
services:
rabbitmq:
image: rabbitmq:3.10-management-alpine
restart: always
# environment:
# - RABBITMQ_DEFAULT_USER=guest
# - RABBITMQ_DEFAULT_PASS=guest
volumes:
- ./mount/rabbitmq:/var/lib/rabbitmq
ports:
- 127.0.0.1:15672:15672
- 127.0.0.1:5672:5672
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment