Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-rabotnik-message-bus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Global Dynamic Exposure
rabotnik
containers
docker-rabotnik-message-bus
Commits
9085ec38
Commit
9085ec38
authored
2 years ago
by
Laurens Oostwegel
Browse files
Options
Downloads
Patches
Plain Diff
Add VHOSTS variable to enable multiple queues
parent
48a5d68f
No related branches found
No related tags found
1 merge request
!8
Add VHOSTS variable to enable multiple queues
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
files/start.sh
+6
-1
6 additions, 1 deletion
files/start.sh
with
6 additions
and
1 deletion
files/start.sh
+
6
−
1
View file @
9085ec38
...
...
@@ -12,7 +12,12 @@ rabbitmqctl add_user "$RABOTNIK_MESSAGE_BUS_USER" "$RABOTNIK_MESSAGE_BUS_PASSWOR
rabbitmqctl set_user_tags
"
$RABOTNIK_MESSAGE_BUS_USER
"
administrator
;
\
rabbitmqctl set_permissions
-p
/
"
$RABOTNIK_MESSAGE_BUS_USER
"
".*"
".*"
".*"
;
\
echo
"*** User '
$RABOTNIK_MESSAGE_BUS_USER
' with password '
$RABOTNIK_MESSAGE_BUS_PASSWORD
' completed. ***"
;
\
echo
"*** Log in the WebUI at port 15672 (example: http://localhost:15672) ***"
)
&
echo
"*** Log in the WebUI at port 15672 (example: http://localhost:15672) ***"
;
for
v
in
$RABOTNIK_MESSAGE_BUS_VHOSTS
;
do
\
rabbitmqctl add_vhost
$v
;
\
rabbitmqctl set_permissions
-p
$v
"
$RABOTNIK_MESSAGE_BUS_USER
"
".*"
".*"
".*"
;
\
echo
"*** Created vhosts '
$v
' ***"
;
\
done
)
&
rabbitmq-plugins
enable
rabbitmq_mqtt
# $@ is used to pass arguments to the rabbitmq-server command.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment