Coder Social home page Coder Social logo

unixorn / alpine-rmq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maryvilledev/alpine-rmq

0.0 2.0 0.0 168 KB

35MB RabbitMQ Docker image running on Alpine Linux

Home Page: https://registry.hub.docker.com/u/gonkulatorlabs/rabbitmq/

Shell 100.00%

alpine-rmq's Introduction

Alpine Linux RabbitMQ Docker image

Many other RabbitMQ Docker images are huge. Instead of using the bloated Ubuntu or Fedora images as a base, this image uses the 5MB Alpine Linux base image. Alpine lets us run RabbitMQ 3.5.4 on Erlang 18.0.2 in only 35MB!

Usage

The wrapper script starts RabbitMQ (with management plugin enabled), tails the log, and configures listeners on the standard ports:

  • 5671/tcp: Listening port when SSL is enabled
  • 5672/tcp: Non-SSL default listening port
  • 15671/tcp: SSL GUI listening port
  • 15672/tcp: Non-SSL GUI listening port

RabbitMQ's data is persisted to a volume at /var/lib/rabbitmq.

To enable SSL set the $SSL_CERT_FILE, $SSL_KEY_FILE, and $SSL_CA_FILE environment variables. The wrapper script will use the same certs for GUI SSL access as for AMQPS access.

Example:

docker run -it \
  --name rabbitmq \
  -p 5671:5671 \
  -p 15671:15671 \
  -e SSL_CERT_FILE=/ssl/cert/cert.pem \
  -e SSL_KEY_FILE=/ssl/cert/key.pem \
  -e SSL_CA_FILE=/ssl/CA/cacert.pem \
  gonkulatorlabs/rabbitmq

Customizing

To set a custom config, ditch the wrapper script and call rabbitmq-server directly. Place the custom config in /srv/rabbitmq_server-3.5.4/etc/rabbitmq/.

Fair Warning!

Alpine's Erlang packages are in its edge (testing) repo, if that bothers you then don't use this image!

alpine-rmq's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.