Created
March 6, 2023 08:22
-
-
Save kek-Sec/7e335977ff936dff94de340f7ef95f44 to your computer and use it in GitHub Desktop.
Rabbit 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.7" | |
services: | |
rabbitmq: | |
image: rabbitmq:3.11.1-management | |
container_name: rabbitmq | |
hostname: rabbitmq | |
restart: always | |
ports: | |
- 5672:5672 | |
- 15672:15672 | |
environment: | |
- RABBITMQ_DEFAULT_USER=user | |
- RABBITMQ_DEFAULT_PASS=s@s@n@s@ | |
- RABBITMQ_DEFAULT_VHOST=/ | |
- RABBITMQ_ERLANG_COOKIE=9ydwa9y9wdaya8ayfa8m | |
volumes: | |
- ./rabbitmq/data:/var/lib/rabbitmq | |
- ./rabbitmq/log:/var/log/rabbitmq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment