telephoneorg / docker-rabbitmq Goto Github PK
View Code? Open in Web Editor NEWRabbitMQ Docker
RabbitMQ Docker
For apps that use the erlang distribution protocol it's often necessary to have a hostname that can be resolved to it's ip address. Unfortunately Kubernetes doesn't assign the resolvable hostname of the pod as the container hostname to discourage people relying on such a thing. Great for web type environments but not with erlang.
When running under Kubernetes, set the following environment variables to true:
KUBE_HOSTNAME_FIX
KUBE_HOSTNAME_SHORT
.This exports the correct HOSTNAME
environment vars as well as adding the host to /etc/hosts
, writing over /etc/hostname
, and wrapping the hostname binary with a custom wrapper that will return the correct hostname (achieved by manipulating the PATH).
This is a known problem with rabbitmq-autocluster, referenced here:
aweber/rabbitmq-autocluster#52
It has been fixed, however the build artifacts under releases is quite old. I attempted to follow the build instructions on the main README.md page, but I am not familiar enough with building rabbitmq/erlang plugins to successfully complete it.
If anyone does manage to compile it, please drop a link, or email me: [email protected].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.