From bd020875a41adfe0ba1a1043c40cd5293d16c22c Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 18 Sep 2018 00:12:40 +0000 Subject: [PATCH] Run update.sh --- rabbitmq/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rabbitmq/README.md b/rabbitmq/README.md index 5d95b3076..0e6a727ff 100644 --- a/rabbitmq/README.md +++ b/rabbitmq/README.md @@ -179,6 +179,8 @@ $ docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_USER 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 +To source the username and password from files instead of environment variables, add a `_FILE` suffix to the environment variable names (for example, `RABBITMQ_DEFAULT_USER_FILE=/run/secrets/xxx` to use [Docker Secrets](https://docs.docker.com/engine/swarm/secrets/)). + ### Setting default vhost If you wish to change the default vhost, you can do so with the `RABBITMQ_DEFAULT_VHOST` environmental variables: