Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions rabbitmq/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@ RABBITMQ_VM_MEMORY_HIGH_WATERMARK
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.

```console
$ docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password %%IMAGE%%:3-management
$ docker run --detach --hostname my-rabbit --name some-rabbit \
--env RABBITMQ_DEFAULT_USER=user \
--env RABBITMQ_DEFAULT_PASS=password \
--publish 15672:15672 \
--publish 5672:5672 \
%%IMAGE%%:management
```

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
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).

### Setting default vhost

Expand Down