# ============================================================================= # RoboCo Environment Configuration # ============================================================================= # Copy this file to .env # # NOTE: No API keys needed for agents - they use your Claude Code authentication. # Run `claude` on the host to authenticate before starting RoboCo. # ============================================================================= # Docker Deployment (NAS/Server) # ============================================================================= # These are REQUIRED when running via docker compose on a NAS/server. # They tell the orchestrator container where to find files on the HOST. # Path to the project on the host (absolute path) # ROBOCO_HOST_PROJECT_DIR=/volume1/roboco # Path to Claude Code auth directory on the host # ROBOCO_HOST_CLAUDE_DIR=/root/.claude # Claude auth directory to mount into orchestrator # CLAUDE_AUTH_DIR=~/.claude # ============================================================================= # Data Persistence # ============================================================================= # Set to a path on your NAS RAID array for durability # Path to data directory on the host (MUST be absolute for Docker-in-Docker) # ROBOCO_DATA_DIR=/volume1/roboco/data # ============================================================================= # Application # ============================================================================= ROBOCO_ENVIRONMENT=development ROBOCO_DEBUG=true # ============================================================================= # API Server # ============================================================================= ROBOCO_HOST=0.0.0.0 ROBOCO_PORT=8000 # ============================================================================= # Database (PostgreSQL) # ============================================================================= # For docker compose deployment, use container name: # ROBOCO_DATABASE_HOST=roboco-postgres # For local development: ROBOCO_DATABASE_HOST=localhost ROBOCO_DATABASE_PORT=5432 ROBOCO_DATABASE_USER=roboco ROBOCO_DATABASE_PASSWORD=roboco ROBOCO_DATABASE_NAME=roboco ROBOCO_DATABASE_ECHO=false # ============================================================================= # Redis # ============================================================================= # For docker compose deployment, use container name: # ROBOCO_REDIS_HOST=roboco-redis # For local development: ROBOCO_REDIS_HOST=localhost ROBOCO_REDIS_PORT=6379 ROBOCO_REDIS_DB=0 # ROBOCO_REDIS_PASSWORD= # ============================================================================= # Qdrant (Vector DB) - Optional # ============================================================================= ROBOCO_QDRANT_HOST=localhost ROBOCO_QDRANT_PORT=6333 # ROBOCO_QDRANT_API_KEY= # ============================================================================= # OpenAI (optional, for embeddings) # ============================================================================= # ============================================================================= # Security # ============================================================================= # Agent auth: HMAC secret that signs X-Agent-Token. REQUIRED for docker compose. # Generate with: python -c 'import secrets; print(secrets.token_hex(32))' ROBOCO_AGENT_AUTH_SECRET= # Secure mode. On a trusted LAN you can leave this false (header-trust mode). # Set true to require every request to carry a valid token so an agent cannot # spoof another agent's role. When true you MUST also set ROBOCO_PANEL_AGENT_TOKEN. ROBOCO_AGENT_AUTH_REQUIRED=false # The control panel's CEO token, injected by nginx in secure mode so the human # UI keeps working without the browser holding the signing secret. Generate it # (after setting ROBOCO_AGENT_AUTH_SECRET above) with: make panel-token ROBOCO_PANEL_AGENT_TOKEN= # ============================================================================= # CORS (comma-separated origins) # ============================================================================= ROBOCO_CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]