feat: initial TailScan implementation

This commit is contained in:
Pizza committed 2026-04-01 16:00:12 -06:00
1 parent 6844083c23
commit f357c6c8d4
1 file changed
+10 -21
+10 -21
View File
@@ -1,25 +1,14 @@
# TailScan Configuration
# Copy this file to .env and fill in your values.
# ── Tailscale OAuth credentials ──
# Tailscale OAuth credentials
# Create at: https://login.tailscale.com/admin/settings/oauth
# Scopes needed: openid, profile, email, devices:read
# Redirect URI: http://<your-tailscale-ip>:8080/auth/callback
# Scopes needed: devices:read
TAILSCALE_CLIENT_ID=your_client_id_here
TAILSCALE_CLIENT_SECRET=your_client_secret_here
TS_CLIENT_ID=your_oauth_client_id
TS_CLIENT_SECRET=your_oauth_client_secret
# Redirect URI — set this to http://<your-tailscale-ip>:8080/auth/callback
TAILSCALE_REDIRECT_URI=http://100.x.x.x:8080/auth/callback
# ── Your tailnet name ──
# Find at: https://login.tailscale.com/admin/machines (top of page)
# Use "-" to auto-detect the default tailnet for the OAuth client
TS_TAILNET=-
# Random secret key for session signing — generate with: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change_me_to_a_random_secret
# ── Base URL ──
# Set to your Tailscale machine IP and port
# Example: http://100.64.0.1:8080
BASE_URL=http://100.64.0.1:8080
# ── Server binding ──
# Leave as 0.0.0.0 to bind all interfaces (Tailscale will filter access)
HOST=0.0.0.0
PORT=8080
# Tailnet name (e.g. "example.com" or "[email protected]" — found in Tailscale admin)
TAILNET=your-tailnet-name