GeoGuessrMCP/.env.example
Claude 9c5ac820b6
Add Docker deployment support with registry integration
- Update Dockerfile to use pyproject.toml instead of requirements.txt
- Add support for Docker Hub image pulling in compose files
- Add comprehensive deployment documentation with multiple methods
- Create CLAUDE.md with development and architecture guide
- Add .dockerignore for optimized build context
- Update .env.example with Docker configuration variables
- Configure 24-hour monitoring interval by default

Changes:
- Dockerfile: Install from pyproject.toml, use main.py entry point
- docker-compose.yml: Add image option for registry deployment
- docker-compose.prod.yml: Add image option for VPS deployment
- README.md: Add Docker Hub push/pull workflows and examples
- CLAUDE.md: Comprehensive guide for AI assistants and developers
- .dockerignore: Exclude unnecessary files from Docker builds
- .env.example: Add DOCKER_USERNAME and IMAGE_TAG variables
2025-11-29 04:53:07 +00:00

68 lines
2.5 KiB
Text

# GeoGuessr MCP Server Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# OPTIONAL: GeoGuessr Authentication
# =============================================================================
# Your GeoGuessr _ncfa cookie for API authentication
# If not set, users must authenticate using the login tool
#
# How to get your _ncfa cookie:
# 1. Log in to GeoGuessr in your browser
# 2. Open Developer Tools (F12 or Ctrl+Shift+I)
# 3. Go to the "Application" or "Storage" tab
# 4. Under "Cookies", find www.geoguessr.com
# 5. Look for the cookie named "_ncfa"
# 6. Copy its value and paste it below
#
# IMPORTANT: Keep this secret! Anyone with this cookie can access your account.
GEOGUESSR_NCFA_COOKIE=
# =============================================================================
# MCP Server Configuration
# =============================================================================
# Transport protocol: "streamable-http" (recommended) or "sse" (legacy)
MCP_TRANSPORT=streamable-http
# Host to bind to (0.0.0.0 for all interfaces)
MCP_HOST=0.0.0.0
# Port to expose the server on
MCP_PORT=8000
# =============================================================================
# API Monitoring Configuration
# =============================================================================
# Enable automatic API endpoint monitoring
MONITORING_ENABLED=true
# How often to check API endpoints (in hours)
MONITORING_INTERVAL_HOURS=24
# Directory to store schema cache (persisted between restarts)
SCHEMA_CACHE_DIR=/app/data/schemas
# =============================================================================
# Logging Configuration
# =============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# =============================================================================
# Request Configuration
# =============================================================================
# Request timeout in seconds
REQUEST_TIMEOUT=30.0
# Maximum retry attempts for failed requests
MAX_RETRIES=3
# =============================================================================
# Docker Configuration (for Docker Compose deployments)
# =============================================================================
# Your Docker Hub username (used when pulling pre-built images)
DOCKER_USERNAME=yourusername
# Docker image tag to use (e.g., latest, v1.0.0, dev)
IMAGE_TAG=latest