Skip to content

Commit

Permalink
feat(docker): Add support for BW_APPID (#82)
Browse files Browse the repository at this point in the history
This adds the ability to specify a bitwarden appId that can be used to
consistently identify the service running.

Refs: #81
  • Loading branch information
jokajak authored Dec 2, 2023
1 parent 4777e49 commit 1da6c37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/bash

set -e

if [ -n "$BW_APPID" ]; then
mkdir -p ~/.config/Bitwarden\ CLI/
echo "{\"appId\":\"$BW_APPID\"}" >~/.config/Bitwarden\ CLI/data.json
fi

echo "starting entrypoint script"

echo "configuring the server host: $BW_HOST"
Expand Down

0 comments on commit 1da6c37

Please sign in to comment.