# Environment Configuration for Kafka Schema Registry MCP with LLama
# Copy this file to .env and customize as needed
# =============================================================================
# LLama Configuration
# =============================================================================
# Default LLama model to use (you can also set this when starting)
DEFAULT_MODEL=llama3.2:3b
# Alternative models you might want to try:
# DEFAULT_MODEL=llama3:8b # Larger, more capable but slower
# DEFAULT_MODEL=llama3.2:1b # Smaller, faster but less capable
# DEFAULT_MODEL=codellama:7b # Specialized for code tasks
# DEFAULT_MODEL=mistral:7b # Alternative model
# Ollama configuration
OLLAMA_HOST=0.0.0.0
OLLAMA_ORIGINS=*
# =============================================================================
# Bridge Service Configuration
# =============================================================================
# Bridge service settings
BRIDGE_HOST=0.0.0.0
BRIDGE_PORT=8080
# Internal service URLs (usually don't need to change these)
OLLAMA_INTERNAL_HOST=http://ollama-mcp:11434
MCP_SERVER_INTERNAL_HOST=http://mcp-server:8000
# =============================================================================
# Schema Registry Configuration
# =============================================================================
# Schema Registry connection (customize if using external registry)
SCHEMA_REGISTRY_URL=http://schema-registry-mcp:8081
# Schema Registry authentication (leave empty for no auth)
SCHEMA_REGISTRY_USER=
SCHEMA_REGISTRY_PASSWORD=
# Schema Registry additional settings
SCHEMA_REGISTRY_DELETE_SUBJECT_ENABLED=true
SCHEMA_REGISTRY_DELETE_VERSION_ENABLED=true
# =============================================================================
# Kafka Configuration
# =============================================================================
# Kafka broker settings
KAFKA_BOOTSTRAP_SERVERS=kafka-mcp:9092
KAFKA_AUTO_CREATE_TOPICS_ENABLE=true
# Kafka cluster ID (change if you want a different cluster)
CLUSTER_ID=v-qDsAQhRMOEe3xNzCmBuQ
# =============================================================================
# Service Ports (External Access)
# =============================================================================
# These are the ports exposed on your host machine
OLLAMA_PORT=11434
BRIDGE_PORT=8080
MCP_SERVER_PORT=38000
SCHEMA_REGISTRY_PORT=38081
AKHQ_UI_PORT=38080
KAFKA_PORT=39092
KAFKA_CONTROLLER_PORT=39094
# =============================================================================
# Docker Configuration
# =============================================================================
# Docker network settings
NETWORK_NAME=kafka-network-mcp
NETWORK_SUBNET=172.20.0.0/16
# Volume settings
VOLUME_PREFIX=kafka-mcp
# GPU settings (set to 'false' if you don't have NVIDIA GPU)
ENABLE_GPU=true
# =============================================================================
# Logging Configuration
# =============================================================================
# Log levels for different services
KAFKA_LOG_LEVEL=WARN
SCHEMA_REGISTRY_LOG_LEVEL=WARN
MCP_LOG_LEVEL=INFO
BRIDGE_LOG_LEVEL=INFO
# Log directory
LOG_DIR=./logs
# =============================================================================
# Development Settings
# =============================================================================
# Enable development mode (more verbose logging, auto-reload, etc.)
DEVELOPMENT_MODE=false
# Enable debug features
DEBUG=false
# API timeouts (seconds)
OLLAMA_TIMEOUT=120
MCP_TIMEOUT=30
BRIDGE_TIMEOUT=60
# =============================================================================
# Performance Tuning
# =============================================================================
# Memory settings for containers (adjust based on your system)
KAFKA_MEMORY=1g
SCHEMA_REGISTRY_MEMORY=512m
OLLAMA_MEMORY=4g
BRIDGE_MEMORY=256m
# Ollama specific performance settings
OLLAMA_NUM_PARALLEL=1
OLLAMA_MAX_LOADED_MODELS=1
# =============================================================================
# Security Settings (for production use)
# =============================================================================
# Enable TLS (not implemented in this development setup)
ENABLE_TLS=false
# API keys (not implemented in this development setup)
API_KEY=
ADMIN_API_KEY=
# =============================================================================
# Custom Extensions
# =============================================================================
# Custom model download URLs (if using custom models)
CUSTOM_MODEL_URL=
# Additional Ollama models to pull on startup
ADDITIONAL_MODELS=
# Custom bridge service features
ENABLE_WEBSOCKETS=false
ENABLE_METRICS=false
# =============================================================================
# Backup and Persistence
# =============================================================================
# Backup directory for schemas and configurations
BACKUP_DIR=./backups
# Enable automatic backups
AUTO_BACKUP=false
BACKUP_INTERVAL=24h