Skip to content

Commit 680e2e8

Browse files
michaelklishinlukebakkentianon
authored
RabbitMQ: correct the management UI port recommended in the README (#2653)
* Suggest using `docker run` with `--detach` --------- Co-authored-by: Luke Bakken <lukerbakken+github@gmail.com> Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
1 parent c2d2e19 commit 680e2e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

rabbitmq/content.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,15 @@ RABBITMQ_VM_MEMORY_HIGH_WATERMARK
5959
If you wish to change the default username and password of `guest` / `guest`, you can do so with the `RABBITMQ_DEFAULT_USER` and `RABBITMQ_DEFAULT_PASS` environmental variables. These variables were available previously in the docker-specific entrypoint shell script but are now available in RabbitMQ directly.
6060

6161
```console
62-
$ docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password %%IMAGE%%:3-management
62+
$ docker run --detach --hostname my-rabbit --name some-rabbit \
63+
--env RABBITMQ_DEFAULT_USER=user \
64+
--env RABBITMQ_DEFAULT_PASS=password \
65+
--publish 15672:15672 \
66+
--publish 5672:5672 \
67+
%%IMAGE%%:management
6368
```
6469

65-
You can then go to `http://localhost:8080` or `http://host-ip:8080` in a browser and use `user`/`password` to gain access to the management console
70+
You can then go to `http://localhost:15672` or `http://host-ip:15672` in a browser and use `user`/`password` to gain access to the [management UI](https://www.rabbitmq.com/docs/management).
6671

6772
### Setting default vhost
6873

0 commit comments

Comments
 (0)