ai-code-battle/.env.example
jedarden 23186b77e1 Start Phase 6: Add deployment configuration and containers
- Add Dockerfile for acb-worker match execution container
- Add docker-compose.bots.yml for orchestrating all 6 strategy bots
- Add docker-compose.workers.yml for worker and indexer deployment
- Add .env.example documenting all required environment variables
- Add DEPLOYMENT.md with deployment guide and troubleshooting
- Update PROGRESS.md with Phase 6 progress

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 09:41:14 -04:00

51 lines
1.7 KiB
Text

# AI Code Battle Environment Configuration
# Copy this file to .env and fill in the values
# ===========================================
# Worker API Configuration
# ===========================================
# The Cloudflare Worker API endpoint
ACB_API_ENDPOINT=https://api.aicodebattle.com
# Worker API key for authentication (required for workers and indexer)
ACB_API_KEY=your-worker-api-key-here
# ===========================================
# R2 Storage Configuration
# ===========================================
# R2 endpoint URL (Cloudflare R2 S3-compatible endpoint)
ACB_R2_ENDPOINT=https://your-account-id.r2.cloudflarestorage.com
# R2 bucket name for replays and match data
ACB_R2_BUCKET=acb-data
# R2 access credentials (from Cloudflare dashboard)
ACB_R2_ACCESS_KEY=your-r2-access-key-id
ACB_R2_SECRET_KEY=your-r2-secret-access-key
# ===========================================
# Bot Secrets (for local development)
# ===========================================
# Each bot needs a secret for HMAC authentication
BOT_SECRET_RANDOM=dev-secret-random
BOT_SECRET_GATHERER=dev-secret-gatherer
BOT_SECRET_RUSHER=dev-secret-rusher
BOT_SECRET_GUARDIAN=dev-secret-guardian
BOT_SECRET_SWARM=dev-secret-swarm
BOT_SECRET_HUNTER=dev-secret-hunter
# ===========================================
# Worker Configuration
# ===========================================
# Optional: unique worker identifier (auto-generated if not set)
ACB_WORKER_ID=
# Enable verbose logging (true/false)
ACB_VERBOSE=false
# ===========================================
# Index Builder Configuration
# ===========================================
# Optional: command to deploy generated files to Cloudflare Pages
# Example: wrangler pages deploy /app/data --project-name=aicodebattle
DEPLOY_COMMAND=