Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile: Revok Scanner messaging queue server

Based on alectolytic/activemq container, this implements a ActiveMQ based message queue server for the Revok Scanner.

Refer to base image documentation for more information.

Build

sudo docker build --tag revok/messaging-server .

Usage Example

AMQ_CONF_OVERLAY=/path/to/amq/conf
AMQ_DATA=/path/to/amq/data
MSG_QUEUE_PORT=61613

# run in foreground
sudo docker run \
    -p ${MSG_QUEUE_PORT}:${MSG_QUEUE_PORT} \
    -v ${AMQ_CONF_OVERLAY}:/var/run/activemq/conf \
    -v ${AMQ_DATA}:/opt/apache-activemq/data \
    --name revok-mq \
    revok/messaging-server

Volumes

Refer to base image volume documentation.

Caroline user password

Caroline nodes rely on the following snippet in activemq.xml configuration file to connect and perform required actions. The password attribute value should be updated here and matched in revok.conf.

<plugins>
    <simpleAuthenticationPlugin>
        <users>
            <authenticationUser username="caroline" password="password" groups="users"/>
        </users>
    </simpleAuthenticationPlugin>
</plugins>

An updated version of activemq.xml can be placed in ${AMQ_CONF_OVERLAY} directory mounted in the container. This is them used instead of the default.

Docker Pull Command
Owner
revok
Source Repository

Comments (0)