2026-04-14 20:11:24 +02:00
|
|
|
# Copy this file to .env and fill in your values.
|
|
|
|
|
# .env is git-ignored — never commit it.
|
|
|
|
|
|
2026-04-15 17:02:43 +02:00
|
|
|
# ─── Image version ────────────────────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
# Pin to a specific image tag. Defaults to "latest" if unset.
|
|
|
|
|
# IMAGE_TAG=0.1.42
|
|
|
|
|
|
2026-04-14 22:47:04 +02:00
|
|
|
# ─── 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 <sandbox-name> --publish 54545:54545/tcp
|
|
|
|
|
|
|
|
|
|
# ─── Web interface ────────────────────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
# Required for ./claude.sh web
|
2026-04-14 22:25:38 +02:00
|
|
|
# WEBUI_USER=claude
|
|
|
|
|
# WEBUI_PASSWORD=changeme
|
2026-04-14 23:09:42 +02:00
|
|
|
|
|
|
|
|
# ─── MCP servers (all optional) ───────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
# GitHub — PAT with repo scope
|
|
|
|
|
# GITHUB_TOKEN=ghp_...
|
|
|
|
|
|
|
|
|
|
# GitLab — PAT with api scope; GITLAB_URL defaults to https://gitlab.com
|
|
|
|
|
# GITLAB_TOKEN=glpat_...
|
|
|
|
|
# GITLAB_URL=https://gitlab.com
|
|
|
|
|
|
|
|
|
|
# Jira + Confluence — shared Atlassian credentials
|
|
|
|
|
# ATLASSIAN_SITE_NAME=your-company # subdomain of .atlassian.net
|
|
|
|
|
# ATLASSIAN_USER_EMAIL=you@example.com
|
|
|
|
|
# ATLASSIAN_API_TOKEN=... # https://id.atlassian.com/manage-profile/security/api-tokens
|