Run update.sh

This commit is contained in:
Docker Library Bot 2022-01-05 11:12:32 -08:00
parent 848d8cb106
commit 3b57fcb7fa
2 changed files with 22 additions and 4 deletions

View File

@ -28,10 +28,10 @@ WARNING:
- [`6.1.0`, `6.1`, `6`](https://github.com/Lightstreamer/Docker/blob/eeab1ae534273b1b05c973e577a1f3eec8d58427/6.1/Dockerfile)
- [`7.0.3-jdk8-openjdk`, `7.0-jdk8-openjdk`, `7.0.3-jdk8`, `7.0-jdk8`](https://github.com/Lightstreamer/Docker/blob/f3aaece15133b9405aef20c5d378c5a83aba7585/7.0/jdk8/Dockerfile)
- [`7.0.3-jdk11-openjdk`, `7.0-jdk11-openjdk`, `7.0.3-jdk11`, `7.0-jdk11`, `7.0.3`, `7.0`](https://github.com/Lightstreamer/Docker/blob/f3aaece15133b9405aef20c5d378c5a83aba7585/7.0/jdk11/Dockerfile)
- [`7.1.2-jdk8-openjdk`, `7.1-jdk8-openjdk`, `7.1.2-jdk8`, `7.1-jdk8`](https://github.com/Lightstreamer/Docker/blob/7bdd2632e1cae0bf838899d591aadb2dd128c41a/7.1/jdk8/Dockerfile)
- [`7.1.2-jdk11-openjdk`, `7.1-jdk11-openjdk`, `7.1.2-jdk11`, `7.1-jdk11`, `7.1.2`, `7.1`](https://github.com/Lightstreamer/Docker/blob/7bdd2632e1cae0bf838899d591aadb2dd128c41a/7.1/jdk11/Dockerfile)
- [`7.2.0-jdk11-openjdk`, `7.2-jdk11-openjdk`, `7-jdk11-openjdk`, `7.2.0-jdk11`, `7.2-jdk11`, `7-jdk11`, `7.2.0`, `7.2`, `latest`](https://github.com/Lightstreamer/Docker/blob/fe38e8a5b87c4cb29b964a49f9ce7f0a50752b48/7.2/jdk11/Dockerfile)
- [`7.2.0-jdk8-openjdk`, `7.2-jd8-openjdk`, `7-jdk8-openjdk`, `7.2.0-jdk8`, `7.2-jdk8`, `7-jdk8`](https://github.com/Lightstreamer/Docker/blob/fe38e8a5b87c4cb29b964a49f9ce7f0a50752b48/7.2/jdk8/Dockerfile)
- [`7.1.3-jdk8-openjdk`, `7.1-jdk8-openjdk`, `7.1.3-jdk8`, `7.1-jdk8`](https://github.com/Lightstreamer/Docker/blob/ee4aaa6a12fbe0658c5ba7c0b35d6b65bb5f1bd5/7.1/jdk8/Dockerfile)
- [`7.1.3-jdk11-openjdk`, `7.1-jdk11-openjdk`, `7.1.3-jdk11`, `7.1-jdk11`, `7.1.3`, `7.1`](https://github.com/Lightstreamer/Docker/blob/ee4aaa6a12fbe0658c5ba7c0b35d6b65bb5f1bd5/7.1/jdk11/Dockerfile)
- [`7.2.2-jdk11-openjdk`, `7.2-jdk11-openjdk`, `7-jdk11-openjdk`, `7.2.2-jdk11`, `7.2-jdk11`, `7-jdk11`, `7.2.2`, `7.2`, `latest`](https://github.com/Lightstreamer/Docker/blob/347dcb6cdbba7960b3bbfbb7a4d331f828288f03/7.2/jdk11/Dockerfile)
- [`7.2.2-jdk8-openjdk`, `7.2-jd8-openjdk`, `7-jdk8-openjdk`, `7.2.2-jdk8`, `7.2-jdk8`, `7-jdk8`](https://github.com/Lightstreamer/Docker/blob/347dcb6cdbba7960b3bbfbb7a4d331f828288f03/7.2/jdk8/Dockerfile)
# Quick reference (cont.)

View File

@ -108,6 +108,24 @@ RABBITMQ_SSL_VERIFY
RABBITMQ_VM_MEMORY_HIGH_WATERMARK
```
### Setting default user and password
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 rabbitmq:3-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
### Setting default vhost
If you wish to change the default vhost, you can do so with the `RABBITMQ_DEFAULT_VHOST` environmental variables:
```console
$ docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_VHOST=my_vhost rabbitmq:3-management
```
### Memory Limits
RabbitMQ contains functionality which explicitly tracks and manages memory usage, and thus needs to be made aware of cgroup-imposed limits (e.g. [`docker run --memory=..`](https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory)).