# ============================================================ # IncidentCommander — Master Environment Variables # Copy this to .env and fill in your values # ============================================================ # --- LLM API (for baseline inference) --- API_BASE_URL=https://api.anthropic.com MODEL_NAME=claude-opus-4-5 ANTHROPIC_API_KEY=your-anthropic-key-here # --- OpenAI-compatible fallback --- OPENAI_API_KEY=your-openai-key-here # --- PostgreSQL --- POSTGRES_USER=postgres POSTGRES_PASSWORD=password POSTGRES_DB=acmecorp DATABASE_URL=postgresql+asyncpg://postgres:password@localhost:5432/acmecorp # --- Redis --- REDIS_URL=redis://localhost:6379 REDIS_ADDR=localhost:6379 # --- Kafka --- KAFKA_BOOTSTRAP_SERVERS=localhost:9092 KAFKA_TOPIC_ORDERS=orders # --- Payments API --- PAYMENTS_API_PORT=4001 DB_POOL_SIZE=10 SERVICE_VERSION=2.3.0 # --- Inventory Service --- INVENTORY_SERVICE_PORT=4002 REDIS_POOL_SIZE=10 # --- Order Worker --- CELERY_BROKER_URL=redis://localhost:6379/1 CELERY_RESULT_BACKEND=redis://localhost:6379/2 CELERY_CONCURRENCY=4 METRICS_PORT=4004 # --- Notification Service --- NOTIFICATION_SERVICE_PORT=4003 SMTP_HOST=localhost SMTP_PORT=1025 SMTP_FROM=noreply@acmecorp.com # --- Frontend --- NEXT_PUBLIC_PAYMENTS_API_URL=http://localhost:4001 NEXT_PUBLIC_INVENTORY_API_URL=http://localhost:4002 NEXT_PUBLIC_NOTIFICATION_SERVICE_URL=http://localhost:4003 # --- Observability --- PROMETHEUS_URL=http://localhost:9090 LOKI_URL=http://localhost:3100 ALERTMANAGER_URL=http://localhost:9093 JAEGER_URL=http://localhost:16686 GRAFANA_URL=http://localhost:3001 OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 # --- Chaos Mesh --- CHAOS_API_URL=http://localhost:2333 # --- Kubernetes --- KUBECONFIG=~/.kube/config # --- Traffic Generator --- LOCUST_HOST=http://localhost:3000 LOCUST_USERS=100 LOCUST_SPAWN_RATE=5 # --- Training (W&B) --- WANDB_API_KEY=your-wandb-key-here WANDB_PROJECT=incident-commander # --- Container Registry --- REGISTRY_URL=ghcr.io/your-org # --- Terraform (Hetzner) --- HCLOUD_TOKEN=your-hetzner-token TF_VAR_cluster_name=incident-commander TF_VAR_node_count=3 TF_VAR_node_type=cx21 TF_VAR_location=nbg1