Add 'docker-run-rabbit.sh'
This commit is contained in:
parent
13e8bc426c
commit
2eabc899f2
1 changed files with 11 additions and 0 deletions
11
docker-run-rabbit.sh
Normal file
11
docker-run-rabbit.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
RBT_USER=${1}
|
||||
RBT_PASS=${2}
|
||||
|
||||
docker run -d \
|
||||
-e RABBITMQ_DEFAULT_USER=$RBT_USER \
|
||||
-e RABBITMQ_DEFAULT_PASS=$RBT_PASS \
|
||||
-p 5672:5672 \
|
||||
-p 15672:15672 \
|
||||
rabbitmq:3.12.12-management
|
||||
Loading…
Add table
Add a link
Reference in a new issue