Skip to content

Commit

Permalink
update rabbitmq docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mosquito committed May 11, 2023
1 parent 058a0b9 commit 8a48e08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
all: test

RABBITMQ_CONTAINER_NAME:=aio_pika_rabbitmq
RABBITMQ_IMAGE:=mosquito/aiormq-rabbitmq

test:
find . -name "*.pyc" -type f -delete
tox

rabbitmq:
docker kill $(docker ps -f label=aio-pika.rabbitmq -q) || true
docker pull $(RABBITMQ_IMAGE)
docker kill $(RABBITMQ_CONTAINER_NAME) || true
docker run --rm -d \
--name $(RABBITMQ_CONTAINER_NAME) \
-l aio-pika.rabbitmq \
-p 5671:5671 \
-p 5672:5672 \
-p 15671:15671 \
Expand Down

0 comments on commit 8a48e08

Please sign in to comment.