Guardian-Forge / .env.example
CreamyClouds's picture
Guardian Forge - MCP Birthday Hackathon 2025
e6d749c
# Guardian Forge - HuggingFace Spaces Environment Configuration
# Copy this file to .env in HuggingFace Spaces settings
# ===================================
# REQUIRED - Core Services
# ===================================
# OpenAI API Key (for Engineer and Guardian agents)
OPENAI_API_KEY=sk-proj-...your-key-here...
# Redis (Upstash) Connection String
# Get free Redis at: https://upstash.com/
REDIS_HOST=redis://default:password@region.upstash.io:port
# Gradio Admin Authentication
GRADIO_USERNAME=admin
GRADIO_PASSWORD=your-secure-password-here
# ===================================
# OPTIONAL - Additional LLM Providers
# ===================================
# Anthropic API Key (optional)
ANTHROPIC_API_KEY=sk-ant-...your-key-here...
# Google Gemini API Key (optional)
GEMINI_API_KEY=AIzaSy...your-key-here...
# ===================================
# OPTIONAL - Google OAuth
# ===================================
# Google OAuth Credentials
# Get from: https://console.cloud.google.com/
GOOGLE_CLIENT_ID=1234567890-abcdefghijklmnop.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-your-secret-here
GOOGLE_REDIRECT_URI=https://your-space-url.hf.space/auth/callback
# ===================================
# Docker Sandbox Configuration
# ===================================
# Docker host (usually unix socket or TCP)
DOCKER_HOST=unix:///var/run/docker.sock
# Sandbox execution timeout (seconds)
SANDBOX_TIMEOUT=10
# ===================================
# Application Settings
# ===================================
# Environment (development, production)
ENVIRONMENT=production
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# API rate limiting (requests per minute)
RATE_LIMIT=60