diff --git a/deployments/headscale/deploy.sh b/deployments/headscale/deploy.sh index 437b5f1..f8736a3 100644 --- a/deployments/headscale/deploy.sh +++ b/deployments/headscale/deploy.sh @@ -274,6 +274,17 @@ while (( $(date +%s) < deadline )); do sleep 5 done +# Convenience: a `headscale` command on the host that runs the CLI inside the +# container from ANY directory (plain `docker compose` needs to be run from +# $STACK_DIR). STACK_DIR is baked in; "$@" is passed through. +cat > /usr/local/bin/headscale <