Created
June 8, 2023 09:40
-
-
Save absent1706/722c27f5c5d381a70a63331423138f61 to your computer and use it in GitHub Desktop.
Docker-compose file for RabbitMQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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