# AI Cluster — template for /opt/homelab/config/ai-cluster/.env on SOLARIA. # Copy, fill in, chmod 600. Never commit the filled file. # # This file is consumed two ways: # 1. `env_file:` in docker-compose.yml — injects these into every container # 2. mounted at /app/.env inside service-ops-worker, where `docker compose` # reads it for ${} interpolation # # Note on precedence: values also present in a service's `environment:` block # (MQTT_HOST, MQTT_PORT, REDIS_URL, AGENT_ID, ROLE) are fixed in-network wiring # and win over anything set here — do not add them, they would be silently # ignored. # --- MQTT (mosquitto, auth required, allow_anonymous false) --- # Must match the credentials in the node-local # /opt/homelab/config/ai-cluster/mosquitto/passwd, generated with: # docker run --rm -v /opt/homelab/config/ai-cluster/mosquitto:/m eclipse-mosquitto:2 \ # mosquitto_passwd -c -b /m/passwd codex '' MQTT_USERNAME=codex MQTT_PASSWORD= # --- LLM gateway on PIHA --- # IP, not a hostname: Tailscale DNS is disabled on SOLARIA, so `piha` does not # resolve. 100.108.208.3 is PIHA's Tailscale IP. GATEWAY_BASE_URL=http://100.108.208.3:8080 # --- telegram-bot (NOT deployed on SOLARIA) --- # Only needed if the telegram-bot service is re-enabled in docker-compose.yml. # TELEGRAM_BOT_TOKEN= # ALLOWED_CHAT_IDS=