Sign inSign up

islandora/activemq

Sponsored OSS

By islandora

•Updated 1 day ago

Message broker.

Image
Security
Integration & delivery
Message queues
5

100K+

islandora/activemq repository overview

⁠ActiveMQ

Docker image for ActiveMQ⁠ version 6.3.2.

Built from Islandora-DevOps/isle-buildkit activemq⁠

Please refer to the ActiveMQ Documentation⁠ for more in-depth information.

As a quick example this will bring up an instance of ActiveMQ, and allow you to log into the WebConsole⁠ on http://localhost:8161 as the user admin with the password password.

docker run --rm -ti -p 8161:8161 islandora/activemq

N.B. if no credentials are given you will not be able to log in via the WebConsole⁠.

⁠Dependencies

Requires islandora/java Docker image to build. Please refer to the Java Image README⁠ for additional information including additional settings, volumes, ports, etc.

⁠Ports

PortDescriptionEnabled by default
1883MQTT⁠No
5672AMPQ⁠No
8161WebConsole⁠Yes
61613STOMP⁠Yes
61614WS⁠No
61616OpenWire⁠Yes

⁠Volumes

PathDescription
/opt/activemq/dataAMQ Message Store⁠

⁠Settings

Environment VariableDefaultDescription
ACTIVEMQ_AUDIT_LOG_LEVELINFOLog level. Possible Values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE or ALL
ACTIVEMQ_LOG_LEVELINFOLog level. Possible Values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE or ALL
ACTIVEMQ_PASSWORDpasswordSee Security⁠: credentials.properties
ACTIVEMQ_USERadminSee Security⁠: credentials.properties
ACTIVEMQ_WEB_ADMIN_NAMEadminSee Security⁠: users.properties. Also used to log into the WebConsole⁠/health API
ACTIVEMQ_WEB_ADMIN_PASSWORDpasswordSee Security⁠: users.properties. Also used to log into the WebConsole⁠/health API
ACTIVEMQ_WEB_ADMIN_ROLESadminsSee Security⁠: groups.properties. Must be admins to access the WebConsole⁠/Jolokia API (enforced by conf/jetty/jetty-security.xml)

Additional users/groups/etc can be defined by adding more environment variables, following the above conventions:

Environment VariableDescription
ACTIVEMQ_USER_{USER}_NAMESee Security⁠: users.properties
ACTIVEMQ_USER_{USER}_PASSWORDSee Security⁠: users.properties
ACTIVEMQ_GROUP_{GROUP}_NAMESee Security⁠: groups.properties
ACTIVEMQ_GROUP_{GROUP}_MEMBERSSee Security⁠: groups.properties

N.B. These do not have defaults.

Since ActiveMQ 6.3, the broker and the WebConsole⁠/Jolokia API share a single JAAS realm (users.properties/groups.properties), so the same mechanism above is used to grant additional users access to the WebConsole⁠. For example to add a new user someone with admin access to the WebConsole⁠ you would need to define the following:

Environment VariableValue
ACTIVEMQ_USER_SOMEONE_NAMEsomeone
ACTIVEMQ_USER_SOMEONE_PASSWORDpassword
ACTIVEMQ_GROUP_ADMINS_NAMEadmins
ACTIVEMQ_GROUP_ADMINS_MEMBERSsomeone

N.B. Broker-level authentication (the jaasAuthenticationPlugin in conf/activemq.xml) is disabled by default, so STOMP⁠/OpenWire⁠/etc connections remain unauthenticated out of the box, as before. Only the WebConsole⁠ and Jolokia API enforce login.

⁠Logs

Tag summary

Content type

Image

Digest

sha256:0650821ac…

Size

322 MB

Last updated

1 day ago

docker pull islandora/activemq:renovate.all-non-major-dependencies

This week's pulls

Pulls:

2,335

Last week