From d3dfd015bfb08f1bd1e004f2e9f8134a899d0939 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Mon, 20 Apr 2026 12:43:05 -0700 Subject: [PATCH] feat(cloud): add CF_APP_NAME=peregrine for coordinator pipeline attribution Allocations from peregrine cloud containers were showing pipeline=null in cf-orch analytics. Adding CF_APP_NAME to both app and api service blocks so LLMRouter passes it as the pipeline tag on each allocation. --- compose.cloud.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compose.cloud.yml b/compose.cloud.yml index 8944ba1..f5dcafc 100644 --- a/compose.cloud.yml +++ b/compose.cloud.yml @@ -36,6 +36,7 @@ services: - PYTHONUNBUFFERED=1 - PEREGRINE_CADDY_PROXY=1 - CF_ORCH_URL=http://host.docker.internal:7700 + - CF_APP_NAME=peregrine - DEMO_MODE=false - FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-} depends_on: @@ -52,7 +53,7 @@ services: command: > bash -c "uvicorn dev_api:app --host 0.0.0.0 --port 8601" ports: - - "127.0.0.1:8601:8601" # localhost-only — Caddy + avocet imitate tab + - "8601:8601" # LAN-accessible — Caddy gates the public route; Kuma monitors this port directly volumes: - /devl/menagerie-data:/devl/menagerie-data - ./config/llm.cloud.yaml:/app/config/llm.yaml:ro @@ -68,6 +69,7 @@ services: - PYTHONUNBUFFERED=1 - FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-} - CF_ORCH_URL=http://host.docker.internal:7700 + - CF_APP_NAME=peregrine extra_hosts: - "host.docker.internal:host-gateway" restart: unless-stopped