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
* Update developer-config.md
This is as per #576.
* Review comment incorporated
* Added review comments of David & Arthur
This involves all the revamp suggested.
* Update developer-config.md
* Latest review
* Update developer-config.md
Copy file name to clipboardExpand all lines: docs/developer-config.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,39 +2,41 @@
2
2
3
3
If you build this image with MQ Advanced for Developers, then an optional set of configuration can be applied automatically. This configures your Queue Manager with a set of default objects that you can use to quickly get started developing with IBM MQ. If you do not want the default objects to be created you can set the `MQ_DEV` environment variable to `false`.
4
4
5
-
## Environment variables
6
-
7
-
The MQ Developer Defaults supports some customization options, these are all controlled using environment variables:
8
-
9
-
***MQ_DEV** - Set this to `false` to stop the default objects being created.
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
-
13
-
From IBM MQ v9.4.0.0, environment variables MQ_ADMIN_PASSWORD and MQ_APP_PASSWORD are deprecated. Secrets must be used to set the passwords for `admin` and `app` user.
14
-
15
5
## Using Secrets to set passwords for app & admin users
16
6
17
7
Secrets must be used to set the passwords for `admin` and `app` user. For setting password for user `admin`, `mqAdminPassword` secret must be created and for user `app`, `mqAppPassword` secret must be created.
18
8
19
9
### Example usage with podman:
20
10
21
-
Creates a podman secret with secret name as “mqAppPassword”:
11
+
Create podman secrets with secret names as “mqAdminPassword” & "mqAppPassword":
From IBM MQ v9.4.0.0, environment variables `MQ_ADMIN_PASSWORD` and `MQ_APP_PASSWORD` are deprecated. Secrets as detailed in the previous section must be used to set the passwords for `admin` and `app` user.
34
+
35
+
The MQ Developer Defaults supports some customization options, these are all controlled using environment variables:
36
+
37
+
***MQ_DEV** - Set this to `false` to stop the default objects being created.
38
+
***MQ_ADMIN_PASSWORD** - Specify the password of the `admin` user. Must be at least 8 characters long.
39
+
***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.
38
40
39
41
40
42
## Details of the default configuration
@@ -56,18 +58,18 @@ The following queues and topics are created:
56
58
57
59
Two channels are created, one for administration, the other for normal messaging:
58
60
59
-
* DEV.ADMIN.SVRCONN - configured to only allow the `admin` user to connect into it. A user and password must be supplied.
60
-
* DEV.APP.SVRCONN - does not allow administrative users to connect. Password is optional unless you choose a password for app users.
61
+
* DEV.ADMIN.SVRCONN - configured to only allow the admin user to connect into it. The `admin`user can be used with the password configured via secret.
62
+
* DEV.APP.SVRCONN - does not allow administrative users to connect. Only the `app` user can connect. The password would be as configured by the secret.
61
63
62
64
## Web Console
63
65
64
66
By default the MQ Advanced for Developers image will start the IBM MQ Web Console that allows you to administer your Queue Manager running on your container. When the web console has been started, you can access it by opening a web browser and navigating to `https://<Container IP>:9443/ibmmq/console`. Where `<Container IP>` is replaced by the IP address of your running container.
65
67
66
68
When you navigate to this page you may be presented with a security exception warning. This happens because, by default, the web console creates a self-signed certificate to use for the HTTPS operations. This certificate is not trusted by your browser and has an incorrect distinguished name.
67
69
68
-
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:
70
+
If you choose to accept the security warning, you will be presented with the login menu for the IBM MQ Web Console. The login for the console is:
69
71
70
72
***User:** admin
71
-
***Password:**No password by default. The password for the admin user must be specified using the `MQ_ADMIN_PASSWORD` environment variable.
73
+
***Password:** The password for the `admin` user must be specified using a secret, as described above.
72
74
73
75
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