Skip to content

Commit

Permalink
Launch rabbitmq with compose
Browse files Browse the repository at this point in the history
  • Loading branch information
klpanagi committed Jun 5, 2024
1 parent 51b8d2a commit 0be0958
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions brokers/amqp/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: 'rabbitmq'
ports:
- 5672:5672
- 15672:15672
volumes:
- ~/.conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.conf/rabbitmq/log/:/var/log/rabbitmq
2 changes: 1 addition & 1 deletion brokers/amqp/launch_rabbitmq_docker.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

docker run --rm -it --hostname rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
docker compose down && docker compose up --remove-orphans

0 comments on commit 0be0958

Please sign in to comment.