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.
This commit is contained in:
parent
9101e716ba
commit
d3dfd015bf
1 changed files with 3 additions and 1 deletions
|
|
@ -36,6 +36,7 @@ services:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
- PEREGRINE_CADDY_PROXY=1
|
- PEREGRINE_CADDY_PROXY=1
|
||||||
- CF_ORCH_URL=http://host.docker.internal:7700
|
- CF_ORCH_URL=http://host.docker.internal:7700
|
||||||
|
- CF_APP_NAME=peregrine
|
||||||
- DEMO_MODE=false
|
- DEMO_MODE=false
|
||||||
- FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-}
|
- FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -52,7 +53,7 @@ services:
|
||||||
command: >
|
command: >
|
||||||
bash -c "uvicorn dev_api:app --host 0.0.0.0 --port 8601"
|
bash -c "uvicorn dev_api:app --host 0.0.0.0 --port 8601"
|
||||||
ports:
|
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:
|
volumes:
|
||||||
- /devl/menagerie-data:/devl/menagerie-data
|
- /devl/menagerie-data:/devl/menagerie-data
|
||||||
- ./config/llm.cloud.yaml:/app/config/llm.yaml:ro
|
- ./config/llm.cloud.yaml:/app/config/llm.yaml:ro
|
||||||
|
|
@ -68,6 +69,7 @@ services:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
- FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-}
|
- FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-}
|
||||||
- CF_ORCH_URL=http://host.docker.internal:7700
|
- CF_ORCH_URL=http://host.docker.internal:7700
|
||||||
|
- CF_APP_NAME=peregrine
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue