Skip to content

Instantly share code, notes, and snippets.

@abiosoft
Created August 15, 2024 15:32
Show Gist options
  • Save abiosoft/3cb613d2e1a1fba0968268c7399785a7 to your computer and use it in GitHub Desktop.
Save abiosoft/3cb613d2e1a1fba0968268c7399785a7 to your computer and use it in GitHub Desktop.
#!/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