Skip to content

Instantly share code, notes, and snippets.

@djangofan
Last active July 30, 2020 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djangofan/ca2716468c7446c7a1accce5b38387c1 to your computer and use it in GitHub Desktop.
Save djangofan/ca2716468c7446c7a1accce5b38387c1 to your computer and use it in GitHub Desktop.
IBM MQ 9.1 server in 5 minutes...
#!/bin/bash
# https://github.com/ibm-messaging/mq-container/blob/master/docs/usage.md
# https://github.com/ibm-messaging/mq-container/blob/master/docs/developer-config.md
## https://www.blazemeter.com/blog/ibm-mq-testing-with-jmeter-learn-how
# https://localhost:9009/ibmmq/console
## User: admin
## Password: passw0rd
# http://localhost:9157/metrics
# Version found at: https://hub.docker.com/_/ibm-mq-advanced -- 9.1.2.0
## Other options:
## MQ_DEV - Set this to false to stop the default objects being created.
## MQ_ADMIN_PASSWORD - Changes the password of the admin user. Must be at least 8 characters long.
## MQ_APP_PASSWORD
docker run \
--env LICENSE=accept \
--env MQ_QMGR_NAME=QM1 \
--env MQ_ENABLE_METRICS=true \
--env MQ_ENABLE_EMBEDDED_WEB_SERVER=true \
--publish 1414:1414 \
--publish 9009:9443 \
--publish 9157:9157 \
--detach \
ibmcom/mq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment