# Copy this file to .env and fill in your values. # .env is git-ignored — never commit it. # ─── Image version ──────────────────────────────────────────────────────────── # Pin to a specific image tag. Defaults to "latest" if unset. # IMAGE_TAG=0.1.42 # ─── Authentication (choose one) ────────────────────────────────────────────── # Option 1: Anthropic API key # ANTHROPIC_API_KEY=sk-ant-... # Option 2: OAuth token from a Claude.ai subscription (1-year validity) # Generate with: claude setup-token (run on your host, not inside the container) # CLAUDE_CODE_OAUTH_TOKEN=... # Option 3: No key set — Claude Code will prompt for browser login on first run. # Port 54545 must be reachable from your browser for the OAuth callback. # Run: sbx ports --publish 54545:54545/tcp