- Bridge: Express API server with SQLite (projects, tasks, executions, outputs) - Dashboard: Next.js app rewired from WebSocket gateway to Tiger Bridge HTTP API - Tasks: Kanban board with drag-drop, project management with CRUD - Dispatch: Task dispatch to sandbox with file watcher for status updates - UI: Container health panel, workspace browser, logs viewer, output viewer Critical fixes: - Use execInSandbox instead of execOnHost for container operations - Watch symlink path instead of container-internal path - URL-encoded params for GET requests instead of body - PUT/DELETE support added to useBridgeRequest Sprints 1-5 complete. Ready for VPS deployment.
39 lines
1.8 KiB
Text
39 lines
1.8 KiB
Text
# ═══════════════════════════════════════════════════════════════════
|
|
# Tiger Control Plane — Environment Variables
|
|
#
|
|
# Copy this file:
|
|
# For the dashboard: dashboard/.env.local
|
|
# For the bridge: bridge/.env
|
|
#
|
|
# NEVER commit real secrets to git. .env.local is in .gitignore.
|
|
# ═══════════════════════════════════════════════════════════════════
|
|
|
|
# ── Tiger Bridge (used by BOTH the bridge server AND the dashboard) ──
|
|
#
|
|
# The shared secret token — must match on both sides.
|
|
# Generate a strong random value:
|
|
# openssl rand -hex 32
|
|
TIGER_BRIDGE_TOKEN=change-me-generate-with-openssl-rand-hex-32
|
|
|
|
# ── Bridge server config (bridge/.env only) ─────────────────────────
|
|
#
|
|
# Port the bridge listens on (localhost only — Caddy proxies HTTPS)
|
|
TIGER_BRIDGE_PORT=3456
|
|
|
|
# Only accept connections from localhost (Caddy is the public face)
|
|
TIGER_BRIDGE_HOST=127.0.0.1
|
|
|
|
# CORS: allow requests from the dashboard origin
|
|
# In production: https://agent.manohargupta.com
|
|
# In development: http://localhost:3000
|
|
ALLOWED_ORIGIN=https://agent.manohargupta.com
|
|
|
|
# ── Dashboard config (dashboard/.env.local only) ────────────────────
|
|
#
|
|
# URL the Next.js server uses to call the bridge (server-to-server)
|
|
# In production: http://localhost:3456 (same machine)
|
|
# In development: http://localhost:3456
|
|
TIGER_BRIDGE_URL=http://localhost:3456
|
|
|
|
# ── Next.js public URL (for absolute URLs in emails, etc.) ──────────
|
|
NEXT_PUBLIC_APP_URL=https://agent.manohargupta.com
|