Created
November 16, 2021 02:45
-
-
Save honghuynhit/bd2e8e3a63a49bb9fcbf05043a45f1ed to your computer and use it in GitHub Desktop.
RabbitMQ Docker Compose
This file contains 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
version: "3.8" | |
services: | |
rabbitmq3: | |
container_name: rabbitmq-data | |
image: rabbitmq:3.8-management-alpine | |
environment: | |
- RABBITMQ_DEFAULT_USER=admin | |
- RABBITMQ_DEFAULT_PASS=admin | |
- TZ=Asia/Ho_Chi_Minh | |
volumes: | |
- "./rabbitmq-data:/var/lib/rabbitmq" | |
ports: | |
#AMQP protocol port | |
- '5672:5672' | |
#HTTP Management UI | |
- '15672:15672' | |
restart: on-failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment