Initial CHORUS project setup
🎭 CHORUS - Container-First P2P Task Coordination System - Docker-first architecture designed from ground up - Environment variable-based configuration (no config files) - Structured logging to stdout/stderr for container runtimes - License validation required for operation - Clean separation from BZZZ legacy systemd approach Core features implemented: - Container-optimized logging system - Environment-based configuration management - License validation with KACHING integration - Basic HTTP API and health endpoints - Docker build and deployment configuration Ready for P2P protocol development and AI integration. 🤖 Generated with Claude Code
This commit is contained in:
43
docker/chorus.env.example
Normal file
43
docker/chorus.env.example
Normal file
@@ -0,0 +1,43 @@
|
||||
# CHORUS Environment Configuration
|
||||
# Copy this file to 'chorus.env' and customize for your deployment
|
||||
|
||||
# =================
|
||||
# REQUIRED SETTINGS
|
||||
# =================
|
||||
|
||||
# License configuration (REQUIRED - CHORUS will not start without these)
|
||||
CHORUS_LICENSE_EMAIL=your-email@example.com
|
||||
CHORUS_LICENSE_KEY=your-license-key-here
|
||||
CHORUS_CLUSTER_ID=production-cluster
|
||||
|
||||
# ==================
|
||||
# OPTIONAL SETTINGS
|
||||
# ==================
|
||||
|
||||
# Agent Configuration
|
||||
# CHORUS_AGENT_ID= # Auto-generated if not specified
|
||||
CHORUS_SPECIALIZATION=general_developer
|
||||
CHORUS_MAX_TASKS=3
|
||||
CHORUS_CAPABILITIES=general_development,task_coordination,ai_integration
|
||||
|
||||
# Network Ports (adjust if ports conflict)
|
||||
CHORUS_API_PORT=8080
|
||||
CHORUS_HEALTH_PORT=8081
|
||||
CHORUS_P2P_PORT=9000
|
||||
|
||||
# AI Integration
|
||||
OLLAMA_ENDPOINT=http://host.docker.internal:11434
|
||||
CHORUS_DEFAULT_MODEL=llama3.1:8b
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info # debug, info, warn, error
|
||||
LOG_FORMAT=structured # structured (JSON) or human
|
||||
|
||||
# Docker Deployment Settings
|
||||
CHORUS_REPLICAS=1 # Number of CHORUS instances to run
|
||||
CHORUS_CPU_LIMIT=1.0 # CPU limit per container
|
||||
CHORUS_MEMORY_LIMIT=1G # Memory limit per container
|
||||
|
||||
# Advanced P2P Settings (for cluster deployments)
|
||||
# CHORUS_BOOTSTRAP_PEERS= # Comma-separated list of bootstrap peers
|
||||
# CHORUS_DHT_ENABLED=true # Enable DHT for peer discovery
|
||||
Reference in New Issue
Block a user