16 lines
304 B
Bash
Executable File
16 lines
304 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
|
|
/bin/bash
|