2025-12-10 02:49:54 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# RoboCo Environment Configuration
|
|
|
|
|
# =============================================================================
|
2025-12-14 22:05:34 +01:00
|
|
|
# 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.
|
2025-12-10 02:49:54 +01:00
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# Application
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_ENVIRONMENT=development
|
|
|
|
|
ROBOCO_DEBUG=true
|
|
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# API Server
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_HOST=0.0.0.0
|
|
|
|
|
ROBOCO_PORT=8000
|
|
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# Database (PostgreSQL)
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# For docker compose deployment, use container name:
|
|
|
|
|
# ROBOCO_DATABASE_HOST=roboco-postgres
|
|
|
|
|
# For local development:
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_DATABASE_HOST=localhost
|
|
|
|
|
ROBOCO_DATABASE_PORT=5432
|
|
|
|
|
ROBOCO_DATABASE_USER=roboco
|
|
|
|
|
ROBOCO_DATABASE_PASSWORD=roboco
|
|
|
|
|
ROBOCO_DATABASE_NAME=roboco
|
|
|
|
|
ROBOCO_DATABASE_ECHO=false
|
|
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# Redis
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# For docker compose deployment, use container name:
|
|
|
|
|
# ROBOCO_REDIS_HOST=roboco-redis
|
|
|
|
|
# For local development:
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_REDIS_HOST=localhost
|
|
|
|
|
ROBOCO_REDIS_PORT=6379
|
|
|
|
|
ROBOCO_REDIS_DB=0
|
|
|
|
|
# ROBOCO_REDIS_PASSWORD=
|
|
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# Qdrant (Vector DB) - Optional
|
|
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_QDRANT_HOST=localhost
|
|
|
|
|
ROBOCO_QDRANT_PORT=6333
|
|
|
|
|
# ROBOCO_QDRANT_API_KEY=
|
|
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
|
|
|
|
# OpenAI (optional, for embeddings)
|
|
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# Security
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2026-06-05 16:35:22 +02:00
|
|
|
# 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=
|
2025-12-10 02:49:54 +01:00
|
|
|
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
# CORS (comma-separated origins)
|
2025-12-14 22:05:34 +01:00
|
|
|
# =============================================================================
|
2025-12-10 02:49:54 +01:00
|
|
|
ROBOCO_CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
|