bandit-runner/.env.example
nicholai 1b95e75310
Some checks are pending
CI / build-test (push) Waiting to run
initialized repository
2025-10-09 01:39:24 -06:00

50 lines
1.6 KiB
Plaintext

# Bandit Runner Environment Variables
# Copy this to .env.local and fill in your values
# =============================================================================
# Required for Development
# =============================================================================
# OpenAI API Key (or compatible endpoint)
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-...
# =============================================================================
# Cloudflare (Required for Production)
# =============================================================================
# Cloudflare Account ID
# Find at: https://dash.cloudflare.com/ → Workers & Pages → Overview
CLOUDFLARE_ACCOUNT_ID=
# Cloudflare API Token
# Create at: https://dash.cloudflare.com/profile/api-tokens
# Permissions needed: Workers Scripts:Edit, D1:Edit, R2:Edit
CLOUDFLARE_API_TOKEN=
# =============================================================================
# Optional Configuration
# =============================================================================
# Alternative LLM Endpoint (e.g., OpenRouter, local inference)
# LLM_BASE_URL=https://openrouter.ai/api/v1
# LLM_API_KEY=
# Bandit SSH Configuration (defaults shown)
# BANDIT_HOST=bandit.labs.overthewire.org
# BANDIT_PORT=2220
# Run Coordinator Settings
# MAX_STEPS_PER_RUN=100
# TIMEOUT_SECONDS=300
# =============================================================================
# Development Only
# =============================================================================
# Next.js
# NEXT_PUBLIC_API_URL=http://localhost:3000
# Wrangler Local Dev
# PORT=8787