Added MQ upgrade
This commit is contained in:
22
readme.md
22
readme.md
@@ -21,8 +21,9 @@ docker run \
|
||||
--publish 1414:1414 \
|
||||
--publish 9157:9157 \
|
||||
--publish 9443:9443 \
|
||||
--restart unless-stopped \
|
||||
--volume qm1data:/mnt/mqm \
|
||||
icr.io/ibm-messaging/mq:latest
|
||||
icr.io/ibm-messaging/mq:9.3.5.1-r1
|
||||
|
||||
# Inside the container
|
||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > /mnt/mqm/data/web/installations/Installation1/servers/mqweb/mqwebuser.xml
|
||||
@@ -36,6 +37,25 @@ exit
|
||||
|
||||
# Restart container
|
||||
docker restart QM1
|
||||
|
||||
# Upgrade MQ
|
||||
docker stop QM1
|
||||
docker rm QM1
|
||||
docker run \
|
||||
--detach \
|
||||
--env LICENSE=accept \
|
||||
--env MQ_ADMIN_PASSWORD=passw0rd \
|
||||
--env MQ_APP_PASSWORD=passw0rd \
|
||||
--env MQ_DEV=true \
|
||||
--env MQ_ENABLE_METRICS=true \
|
||||
--env MQ_QMGR_NAME=QM1 \
|
||||
--name QM1 \
|
||||
--publish 1414:1414 \
|
||||
--publish 9157:9157 \
|
||||
--publish 9443:9443 \
|
||||
--restart unless-stopped \
|
||||
--volume qm1data:/mnt/mqm \
|
||||
icr.io/ibm-messaging/mq:9.3.5.1-r1 # Use a newer version.
|
||||
```
|
||||
## Webconsole / Swagger UI
|
||||
* https://localhost:9443/ibmmq/console/#/
|
||||
|
||||
Reference in New Issue
Block a user