From 3b05e35b47b2cf4d095486bdb303cb68de71a4c8 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sun, 22 Nov 2020 09:43:22 -0500 Subject: [PATCH] update docs --- bin/run.sh | 12 ++++++++++-- docs/launch-node-from-local.md | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bin/run.sh b/bin/run.sh index c1b4e632..c5d3f2b4 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -135,11 +135,19 @@ if [[ ! -z "${BUBBLE_API}" && -d "${BUBBLE_AUTH}" ]] ; then PASS_FILE="${AUTH_DIR}/pass" if [[ ! -z "${BUBBLE_USER}" && -f "${AUTH_DIR}/${BUBBLE_USER}" ]] ; then - echo 1>&2 "Using cached password for user ${BUBBLE_USER} from ${AUTH_DIR}/${BUBBLE_USER} (set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior)" + if [[ -z "${BUBBLE_QUIET_AUTH_CACHE}" || "${BUBBLE_QUIET_AUTH_CACHE}" != "true" ]] ; then + echo 1>&2 "Using cached password for user ${BUBBLE_USER} from ${AUTH_DIR}/${BUBBLE_USER} +Set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior +Set BUBBLE_QUIET_AUTH_CACHE=true to hide this warning" + fi BUBBLE_PASS="$(cat "${AUTH_DIR}/${BUBBLE_USER}" | tr -d '[:space:]')" elif [[ -f ${USER_FILE} && -f ${PASS_FILE} ]] ; then - echo 1>&2 "Using cached user/pass from ${USER_FILE} and ${PASS_FILE} (set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior)" + if [[ -z "${BUBBLE_QUIET_AUTH_CACHE}" || "${BUBBLE_QUIET_AUTH_CACHE}" != "true" ]] ; then + echo 1>&2 "Using cached user/pass from ${USER_FILE} and ${PASS_FILE} +Set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior +Set BUBBLE_QUIET_AUTH_CACHE=true to hide this warning" + fi BUBBLE_USER="$(cat "${USER_FILE}" | tr -d '[:space:]')" BUBBLE_PASS="$(cat "${PASS_FILE}" | tr -d '[:space:]')" fi diff --git a/docs/launch-node-from-local.md b/docs/launch-node-from-local.md index 9a9a8846..16fe57a7 100644 --- a/docs/launch-node-from-local.md +++ b/docs/launch-node-from-local.md @@ -1,6 +1,7 @@ Launching a Bubble from a Local Launcher ======================================== -These instructions assume you have already set up a [Local Launcher](local-launcher.md). +These instructions assume you have already set up a [Local Launcher](local-launcher.md) +or are running the [Bubble Docker Launcher](docker-launcher.md). ## Login Login to your Local Launcher using the root admin account that was created during activation.