Created
February 3, 2026 07:40
-
-
Save DzenDyn/0b03cc63c2e368ccdff88b8ff8e66ae6 to your computer and use it in GitHub Desktop.
Local 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
| services: | |
| rabbit: | |
| image: "rabbitmq:3.11.10-management" | |
| restart: unless-stopped | |
| container_name: rabbit_local | |
| ports: | |
| - "45671:15671" | |
| - "45672:15672" | |
| - "55671:5671" | |
| - "55672:5672" | |
| environment: | |
| RABBITMQ_DEFAULT_USER: user | |
| RABBITMQ_DEFAULT_PASS: password | |
| volumes: | |
| - "rabbit_local:/var/lib/rabbitmq" | |
| volumes: | |
| rabbit_local: | |
| name: rabbit_local |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Сохраните файл в отдельную директорию и назовите файл
docker-compose.yamlОткройте командную строку и в директории с файлом выполните:
docker compose up -dДля остановки в этой же директории выполните:
docker compose down