Giter VIP home page Giter VIP logo

mqlight-docker's Introduction

IBM® MQ Light

IBM MQ Light logo

Overview

This image contains IBM MQ Light. The Dockerfile for this image can be found on the ibm-messaging GitHub.

Usage

In order to use the image, it is necessary to accept the terms of the MQ Light license. This is achieved by specifying the environment variable LICENSE equal to accept when running the image. You can also view the license terms by setting this variable to view. Failure to set the variable will result in the termination of the container with a usage statement.

The following command creates and starts an MQ Light container listening on the host's IP address on port 5672 for AMQP messaging, and 9180 for the web UI. MQ Light's persistent message data and logs are written to a Docker volume in /var/mqlight - in this example, this directory in the container is mapped to the /var/example directory on the host:

sudo docker run \
  --env LICENSE=accept \
  --volume /var/example:/var/mqlight \
  --publish 5672:5672 \
  --publish 9180:9180 \
  --detach \
  ibmcom/mqlight:1.0

The following command creates and starts an MQ Light container with security enabled. Note that the mapped ports have changed to be the secure ports.

sudo docker run \
  --env LICENSE=accept \
  --env MQLIGHT_USER=admin \
  --env MQLIGHT_PASSWORD=changeme \
  --env MQLIGHT_TLS_PASSPHRASE=changeme2 \
  --env MQLIGHT_TLS_KEYSTORE=/etc/ssl/selfsigned.p12 \
  --volume /path/on/host/selfsigned.p12:/etc/ssl/selfsigned.p12 \
  --volume /var/example:/var/mqlight \
  --publish 5671:5671 \
  --publish 9181:9181 \
  --detach \
  ibmcom/mqlight:1.0

See the MQ Light security tutorial for more details on how to create a key store.

Note: because MQ Light uses memory-mapped files you cannot map /var/mqlight to a vboxsf file system due to VirtualBox defect 819. For example, the /Users directory is typically a vboxsf file system when running under boot2docker on Mac OS X.

Configuration

The following environment variables can be used to configure MQ Light:

  • LICENSE | Set to "view" to view the license terms, or "accept" to accept the license terms.
  • MQLIGHT_USER | Sets the administrative user name. Must be used in conjunction with MQLIGHT_PASSWORD.
  • MQLIGHT_PASSWORD | Sets the administrative user password. Must be used in conjunction with MQLIGHT_USER.
  • MQLIGHT_TLS_KEYSTORE | Enables SSL/TLS security, and sets the PKCS#12 key store file path. Note that you need to make the key store file available inside your Docker container - for example, you can add a volume by adding -v /path/on/host/my.p12:/path/in/container/my.p12 when you invoke docker run.
  • MQLIGHT_TLS_PASSPHRASE | Sets the passphrase for the key store file, for SSL/TLS security

See the MQ Light documentation for more details about how to use MQ Light.

Issues and contributions

For issues relating specifically to this Docker image, please use the GitHub issue tracker. For more general issue relating to IBM MQ Light you can get help through the Messaging community. If you do submit a Pull Request related to this Docker image, please indicate in the Pull Request that you accept and agree to be bound by the terms of the IBM Contributor License Agreement.

License

The Dockerfile and associated scripts are licensed under the Apache License 2.0. MQ Light is licensed under the IBM International License Agreement for Non-Warranted Programs. This license may be viewed from the image using the LICENSE=view environment variable as described above or may be found online. Note that this license does not permit further distribution.

mqlight-docker's People

Contributors

dnwe avatar davidjmccann avatar arthurbarr avatar john-colgrave avatar

Watchers

Junlapong L. avatar James Cloos 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.