Created
August 15, 2024 15:32
-
-
Save abiosoft/3cb613d2e1a1fba0968268c7399785a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
USER=development | |
PASSWORD=development | |
VHOST=development | |
set -eux | |
rabbitmqctl add_user "$USER" "$PASSWORD" | |
rabbitmqctl set_user_tags "$USER" administrator | |
rabbitmqctl add_vhost "$VHOST" | |
rabbitmqctl set_permissions -p "$VHOST" "$USER" ".*" ".*" ".*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment