Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Very Demiurge Very Mindful
Kolla Ansible
Commits
3309f5e4
Commit
3309f5e4
authored
10 years ago
by
Jenkins
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Make rabbitmq container work with it's proper hostname set"
parents
97d3792b
ac930b33
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/rabbitmq/Dockerfile
+1
-1
1 addition, 1 deletion
docker/rabbitmq/Dockerfile
docker/rabbitmq/start.sh
+4
-0
4 additions, 0 deletions
docker/rabbitmq/start.sh
with
5 additions
and
1 deletion
docker/rabbitmq/Dockerfile
+
1
−
1
View file @
3309f5e4
...
@@ -2,7 +2,7 @@ FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
...
@@ -2,7 +2,7 @@ FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base
MAINTAINER
Kolla Project (https://launchpad.net/kolla)
MAINTAINER
Kolla Project (https://launchpad.net/kolla)
# Install required packages
# Install required packages
RUN
yum
-y
install
rabbitmq-server
&&
yum clean all
RUN
yum
-y
install
rabbitmq-server
hostname
&&
yum clean all
# Run the management plugin
# Run the management plugin
RUN
/usr/lib/rabbitmq/bin/rabbitmq-plugins
enable
rabbitmq_management
RUN
/usr/lib/rabbitmq/bin/rabbitmq-plugins
enable
rabbitmq_management
...
...
This diff is collapsed.
Click to expand it.
docker/rabbitmq/start.sh
+
4
−
0
View file @
3309f5e4
...
@@ -17,4 +17,8 @@ sed -i '
...
@@ -17,4 +17,8 @@ sed -i '
s|@RABBITMQ_LOG_BASE@|'
"
$RABBITMQ_LOG_BASE
"
'|g
s|@RABBITMQ_LOG_BASE@|'
"
$RABBITMQ_LOG_BASE
"
'|g
'
/etc/rabbitmq/rabbitmq-env.conf
'
/etc/rabbitmq/rabbitmq-env.conf
# work around:
# https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405
echo
"
${
RABBITMQ_SERVICE_HOST
}
`
/usr/bin/hostname
-s
`
"
>
/etc/hosts
exec
/usr/sbin/rabbitmq-server
exec
/usr/sbin/rabbitmq-server
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