headscale-ui/docker/development/scripts/install-pocketbase.sh
2025-11-14 22:47:49 +00:00

12 lines
No EOL
346 B
Bash

# script variables
PB_VERSION=0.33.0
PB_URL=https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip
PB_RELEASE="pocketbase_${PB_VERSION}_linux_amd64.zip"
cd /opt
### Download pocketbase
curl -LJO "$PB_URL"
### Extract and move into directory
unzip $PB_RELEASE -d /opt/pb
rm $PB_RELEASE