Created
February 11, 2022 17:26
-
-
Save julianazanelatto/74b008af0757c8d9af1e8b22612488fc to your computer and use it in GitHub Desktop.
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
# RabbitMQ properties | |
services: | |
rabbitmq: | |
image: rabbitmq:3-management | |
container_name: rabbitmq_management | |
ports: | |
- 25672:25672 # (erlang) communication between the nodes and CLI tool | |
- 15672:15672 # communication with the web management API | |
volumes: | |
# data persistence | |
- /docker_conf/rabbitmq/data/:/var/lib/rabbitmq/ | |
# data mapping -> host: container | |
# queues and messages data of the container will be stored on the host | |
environment: | |
- RABBITMQ_DEFAULT_USER = admin | |
- RABBITMQ_DEFAULT_PASS = passw123 | |
restart: always | |
volumes: | |
logs-folder: | |
name: ${log_rabbitmq_management} | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment