mycdc/run-rabbit.sh

13 lines
248 B
Bash
Raw Normal View History

2022-10-23 19:46:07 +00:00
#!/bin/bash
docker rm -f some-rabbit
docker run \
-d --hostname my-rabbit \
--name some-rabbit \
-e RABBITMQ_DEFAULT_USER=user \
-e RABBITMQ_DEFAULT_PASS=password \
-p 5672:5672 \
-p 8080:15672 \
rabbitmq:3-management