You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Disable default developer configuration
* Add new docker test
* Avoid loading of mq.htpasswd exit when MQ_CONNAUTH_USE_HTP not set
* Fix gosec error
* Copy ini file with specific name
* Load mqhtpasswd exit if admin and/or app password and MQ_CONNAUTH_USE_HTP=true
* Update develiper configuration documentation
* Fix typo and correct function description
Copy file name to clipboardExpand all lines: Dockerfile-server
+55-52Lines changed: 55 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ USER 0
32
32
WORKDIR $GO_WORKDIR/
33
33
ADD $MQ_ARCHIVE /opt/mqm
34
34
ENV CGO_CFLAGS="-I/opt/mqm/inc/" \
35
-
CGO_LDFLAGS_ALLOW="-Wl,-rpath.*" \
36
-
PATH="${PATH}:/opt/mqm/bin"
35
+
CGO_LDFLAGS_ALLOW="-Wl,-rpath.*" \
36
+
PATH="${PATH}:/opt/mqm/bin"
37
37
COPY go.mod go.sum ./
38
38
COPY cmd/ ./cmd
39
39
COPY internal/ ./internal
@@ -62,27 +62,27 @@ ARG BASE_TAG
62
62
ARG MQ_ARCHIVE
63
63
WORKDIR /tmp/mq
64
64
ENV genmqpkg_inc32=0 \
65
-
genmqpkg_incadm=1 \
66
-
genmqpkg_incamqp=0 \
67
-
genmqpkg_incams=1 \
68
-
genmqpkg_inccbl=0 \
69
-
genmqpkg_inccics=0 \
70
-
genmqpkg_inccpp=0 \
71
-
genmqpkg_incdnet=0 \
72
-
genmqpkg_incjava=1 \
73
-
genmqpkg_incjre=1 \
74
-
genmqpkg_incman=0 \
75
-
genmqpkg_incmqbc=0 \
76
-
genmqpkg_incmqft=0 \
77
-
genmqpkg_incmqsf=0 \
78
-
genmqpkg_incmqxr=0 \
79
-
genmqpkg_incnls=1 \
80
-
genmqpkg_incras=1 \
81
-
genmqpkg_incsamp=1 \
82
-
genmqpkg_incsdk=0 \
83
-
genmqpkg_inctls=1 \
84
-
genmqpkg_incunthrd=0 \
85
-
genmqpkg_incweb=1
65
+
genmqpkg_incadm=1 \
66
+
genmqpkg_incamqp=0 \
67
+
genmqpkg_incams=1 \
68
+
genmqpkg_inccbl=0 \
69
+
genmqpkg_inccics=0 \
70
+
genmqpkg_inccpp=0 \
71
+
genmqpkg_incdnet=0 \
72
+
genmqpkg_incjava=1 \
73
+
genmqpkg_incjre=1 \
74
+
genmqpkg_incman=0 \
75
+
genmqpkg_incmqbc=0 \
76
+
genmqpkg_incmqft=0 \
77
+
genmqpkg_incmqsf=0 \
78
+
genmqpkg_incmqxr=0 \
79
+
genmqpkg_incnls=1 \
80
+
genmqpkg_incras=1 \
81
+
genmqpkg_incsamp=1 \
82
+
genmqpkg_incsdk=0 \
83
+
genmqpkg_inctls=1 \
84
+
genmqpkg_incunthrd=0 \
85
+
genmqpkg_incweb=1
86
86
ADD $MQ_ARCHIVE /opt/mqm-noinstall
87
87
# Run genmqpkg to reduce the MQ packages included
88
88
RUN /opt/mqm-noinstall/bin/genmqpkg.sh -b /opt/mqm-redux
@@ -96,17 +96,17 @@ ARG BASE_IMAGE
96
96
ARG BASE_TAG
97
97
ARG GO_WORKDIR
98
98
LABEL summary="IBM MQ Advanced Server" \
99
-
description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
io.k8s.description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
108
-
base-image=$BASE_IMAGE \
109
-
base-image-release=$BASE_TAG
99
+
description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
io.k8s.description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
108
+
base-image=$BASE_IMAGE \
109
+
base-image-release=$BASE_TAG
110
110
COPY --from=mq-redux /opt/mqm-redux/ /opt/mqm/
111
111
COPY setup-image.sh /usr/local/bin/
112
112
COPY install-mq-server-prereqs.sh /usr/local/bin/
@@ -169,19 +169,19 @@ ARG BASE_IMAGE
169
169
ARG BASE_TAG
170
170
ARG GO_WORKDIR
171
171
LABEL summary="IBM MQ Advanced for Developers Server" \
172
-
description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
io.k8s.display-name="IBM MQ Advanced for Developers Server" \
179
-
io.k8s.description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
180
-
base-image=$BASE_IMAGE \
181
-
base-image-release=$BASE_TAG
172
+
description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
io.k8s.display-name="IBM MQ Advanced for Developers Server" \
179
+
io.k8s.description="Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution — trusted by the world’s most successful enterprises" \
Copy file name to clipboardExpand all lines: docs/developer-config.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ If you build this image with MQ Advanced for Developers, then an optional set of
7
7
The MQ Developer Defaults supports some customization options, these are all controlled using environment variables:
8
8
9
9
***MQ_DEV** - Set this to `false` to stop the default objects being created.
10
-
***MQ_ADMIN_PASSWORD** - Changes the password of the `admin` user. Must be at least 8 characters long.
11
-
***MQ_APP_PASSWORD** - Changes the password of the app user. If set, this will cause the `DEV.APP.SVRCONN` channel to become secured and only allow connections that supply a valid userid and password. Must be at least 8 characters long.
10
+
***MQ_ADMIN_PASSWORD** - Specify the password of the `admin` user. Must be at least 8 characters long.
11
+
***MQ_APP_PASSWORD** - Specify the password of the `app` user. If set, this will cause the `DEV.APP.SVRCONN` channel to become secured and only allow connections that supply a valid userid and password. Must be at least 8 characters long.
12
12
13
13
## Details of the default configuration
14
14
15
15
The following users are created:
16
16
17
-
* User **admin** for administration. Default password is **passw0rd**.
18
-
* User **app** for messaging (in a group called `mqclient`). No password by default.
17
+
* User **admin** for administration. No password by default. Password must be set using **MQ_ADMIN_PASSWORD** environment variable.
18
+
* User **app** for messaging (in a group called `mqclient`). No password by default. Password must be set using **MQ_APP_PASSWORD** environment variable.
19
19
20
20
Users in `mqclient` group have been given access connect to all queues and topics starting with `DEV.**` and have `put`, `get`, `pub`, `sub`, `browse` and `inq` permissions.
21
21
@@ -41,8 +41,6 @@ When you navigate to this page you may be presented with a security exception wa
41
41
If you choose to accept the security warning, you will be presented with the login menu for the IBM MQ Web Console. The default login for the console is:
42
42
43
43
***User:** admin
44
-
***Password:** passw0rd
45
-
46
-
If you wish to change the password for the admin user, this can be done using the `MQ_ADMIN_PASSWORD` environment variable.
44
+
***Password:** No password by default. The password for the admin user must be specified using the `MQ_ADMIN_PASSWORD` environment variable.
47
45
48
46
If you do not wish the web console to run, you can disable it by setting the environment variable `MQ_ENABLE_EMBEDDED_WEB_SERVER` to `false`.
0 commit comments