Sign inSign up

jairov4/activemq

By jairov4

Updated over 6 years ago

ActiveMQ alpine with configurable options via Environment variables

Image
0

370

jairov4/activemq repository overview

ActiveMQ Container Usage

Configure using the following environment variables:

VariableDescriptionValues
ACTIVEMQ_JMX_ENABLEDShould enable context managertrue,false
ACTIVEMQ_LIMITS_MEMORYMemory usage as explained hereex: 100 mb
ACTIVEMQ_LIMITS_STOREStore usage as explained hereex: 100 gb
ACTIVEMQ_LIMITS_TMPTemp usage as explained hereex: 1 gb
ACTIVEMQ_TCPOpenWire Portex: 61616
ACTIVEMQ_AMQPAMQP Portex: 5672
ACTIVEMQ_STOMPSTOMP Portex: 61613
ACTIVEMQ_MQTTMQTT Portex: 1883
ACTIVEMQ_WSWS Portex: 61614
ACTIVEMQ_CREDENTIALS_FILECredentials filename (relative to ${activemq.conf} which use to be /opt/activemq/conf)ex: credentials.properties
ACTIVEMQ_BROKER_NAMEBroker nameex: localhost
ACTIVEMQ_USERS_ADMIN_ROLEAdmin roleex: admin
ACTIVEMQ_USERS_ADMIN_PASSWORDAdmin UI passwordex: admin
ACTIVEMQ_USERS_xxxxx_ROLExxxxx UI user roleex: guest
ACTIVEMQ_USERS_xxxxx_PASSWORDxxxxx UI user passwordex: guest

Sample compose file

Sample for use with docker-compose

version: '3.6'
services:
  mq:
    image: jairov4/activemq:5.14.5-alpine
    build:
      context: activemq
      dockerfile: Dockerfile
    environment:
      ACTIVEMQ_USERS_ADMIN_ROLE: the_admin
      ACTIVEMQ_USERS_ADMIN_PASSWORD: the_password
    ports:
      - 8161:8161
    volumes:
      - mq_data:/opt/activemq/data

volumes:
  mq_data:

Tag summary

Content type

Image

Digest

Size

123.2 MB

Last updated

over 6 years ago

docker pull jairov4/activemq