From cdd67fa0f74fc93aac4d42d2ffdec9a31fc98c71 Mon Sep 17 00:00:00 2001 From: Evanfeenstra Date: Fri, 28 Aug 2026 15:45:40 -0700 Subject: [PATCH 1/2] HF_TOKEN --- second-brain-2.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/second-brain-2.yml b/second-brain-2.yml index 4b3d76f9..88133ba4 100644 --- a/second-brain-2.yml +++ b/second-brain-2.yml @@ -140,6 +140,7 @@ services: - OPENROUTER_API_KEY=$OPENROUTER_API_KEY - GUNICORN_WORKER=$GUNICORN_WORKER - GUNICORN_THREADS=$GUNICORN_THREADS + - HF_TOKEN=$HF_TOKEN node_exporter: image: quay.io/prometheus/node-exporter:latest container_name: node_exporter From d088f0763620fa452cac0c780a2739c7f048cf87 Mon Sep 17 00:00:00 2001 From: Evanfeenstra Date: Fri, 28 Aug 2026 15:46:24 -0700 Subject: [PATCH 2/2] compose: pass HF_TOKEN through to the sphinx-swarm container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The swarm service's environment is an explicit allowlist, so a var added to .env is substituted by compose but never reaches the swarm process unless listed here — and repo2graph's make_config reads it from the swarm process env (getenv). Without this line, HF_TOKEN in .env silently goes nowhere. Co-Authored-By: Claude Fable 5 --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index f0e737c5..e860c0e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -89,6 +89,7 @@ services: - SUPER_TOKEN=$SUPER_TOKEN - QUESTION_AND_ANSWER_WORKFLOW_ID=$QUESTION_AND_ANSWER_WORKFLOW_ID - AWS_S3_BUCKET_NAME=$AWS_S3_BUCKET_NAME + - HF_TOKEN=$HF_TOKEN # repo2graph GAIA dataset bootstrap (gated HF repo) networks: sphinx-swarm: