bw-client/entrypoint.sh
Jochen Maes 4e54b32ae4
All checks were successful
continuous-integration/drone/tag Build is passing
debugging
2023-11-18 18:34:31 +01:00

16 lines
320 B
Bash
Executable File

#!/bin/bash
set -x
echo "clientid: ${BW_CLIENTID}"
echo "clientsecret: ${BW_CLIENTSECRET}"
bw config server ${BW_HOST}
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