bw-client/entrypoint.sh
Jochen Maes 081802a378
All checks were successful
continuous-integration/drone/tag Build is passing
extra debug
2023-11-18 19:28:07 +01:00

15 lines
293 B
Bash
Executable File

#!/bin/bash
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 unlock --check
echo 'Running `bw server` on port 8087'
bw serve --hostname 0.0.0.0 #--disable-origin-protection