mycdc/assets/run-rabbit.sh

13 lines
243 B
Bash
Raw Permalink Normal View History

2022-10-23 19:46:07 +00:00
#!/bin/bash
2022-11-06 12:00:55 +00:00
docker rm -f rabbit
2022-10-23 19:46:07 +00:00
docker run \
-d --hostname my-rabbit \
2022-11-06 12:00:55 +00:00
--name rabbit \
2022-10-23 19:46:07 +00:00
-e RABBITMQ_DEFAULT_USER=user \
-e RABBITMQ_DEFAULT_PASS=password \
-p 5672:5672 \
-p 8080:15672 \
2022-10-25 11:20:22 +00:00
rabbitmq:3.11.2-management