A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
24 lines
611 B
Bash
Executable File
24 lines
611 B
Bash
Executable File
#!/bin/bash
|
|
|
|
setupHeadscaleLocal()
|
|
{
|
|
local app_name="$1"
|
|
|
|
setupHeadscaleGetHostname;
|
|
|
|
tailscaleInstallToContainer $app_name;
|
|
|
|
setupHeadscaleGenerateAuthKey;
|
|
dockerCommandRun "docker exec $app_name tailscale up --login-server $headscale_host_setup --authkey $headscale_preauthkey --force-reauth"
|
|
checkSuccess "Connecting $app_name to Headscale Server"
|
|
|
|
result=$(rm -rf $headscale_preauthkey_file)
|
|
checkSuccess "Clearing the temp key file."
|
|
|
|
# Showing Nodelist after install
|
|
headscaleclientlocal=n
|
|
headscalenodeslist=y
|
|
headscaleCommands;
|
|
headscalenodeslist=n
|
|
}
|