diff --git a/entrypoint.sh b/entrypoint.sh index b4e0081..70731bd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,14 +2,10 @@ set -x -env - bw config server ${BW_HOST} -cat /root/.config/Bitwarden CLI/data.json -export BW_SESSION=$(bw login --apikey --raw) -bw unlock --passwordenv BW_PASSWORD +bw login --apikey +export BW_SESSION=$(bw unlock --passwordenv BW_PASSWORD --raw) bw unlock --check echo 'Running `bw server` on port 8087' -#bw serve --hostname 0.0.0.0 #--disable-origin-protection -/bin/bash +bw serve --hostname 0.0.0.0 #--disable-origin-protection