mycdc/run-rabbit.sh

13 lines
243 B
Bash
Executable File

#!/bin/bash
docker rm -f rabbit
docker run \
-d --hostname my-rabbit \
--name rabbit \
-e RABBITMQ_DEFAULT_USER=user \
-e RABBITMQ_DEFAULT_PASS=password \
-p 5672:5672 \
-p 8080:15672 \
rabbitmq:3.11.2-management