bw-client/entrypoint.sh
Jochen Maes c1a41e3663
All checks were successful
continuous-integration/drone/tag Build is passing
fix variable in entrypoint
2023-11-18 17:27:39 +01:00

13 lines
243 B
Bash
Executable File

#!/bin/bash
set -e
bw config server ${BW_HOST}
export BW_SESSION=$(bw login ${BW_USER} --passwordenv ${BW_PASSWORD} --raw)
bw unlock --check
echo 'Running `bw server` on port 8087'
bw serve --hostname 0.0.0.0 #--disable-origin-protection