Skip to content

Commit

Permalink
docker: add new env var to enable console_management (#2599)
Browse files Browse the repository at this point in the history
  • Loading branch information
he2ss committed Dec 12, 2023
1 parent acd2a14 commit 4a4b309
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/docker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,11 @@ for BOUNCER in $(compgen -A variable | grep -i BOUNCER_KEY); do
fi
done

if [ "$ENABLE_CONSOLE_MANAGEMENT" != "" ]; then
# shellcheck disable=SC2086
cscli console enable console_management
fi

## Register bouncers via secrets (Swarm only)
shopt -s nullglob extglob
for BOUNCER in /run/secrets/@(bouncer_key|BOUNCER_KEY)* ; do
Expand Down

0 comments on commit 4a4b309

Please sign in to comment.