From f20712a5d86fc1f2d3edaf5dcc94abbdd2f27b5f Mon Sep 17 00:00:00 2001 From: ginnoir Date: Sat, 27 Jun 2026 00:04:46 -0500 Subject: [PATCH] fix(llm): bind llama-swap config from absolute /config/llm (Portainer rel-bind) Portainer's git checkout auto-creates a relative repo-file bind as a directory, breaking the /app/config.yaml mount. Use the absolute host path like the share stack; repo copy stays canonical, mirrored to /config/llm on deploy. Co-Authored-By: Claude Opus 4.8 --- stacks/llm/docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stacks/llm/docker-compose.yml b/stacks/llm/docker-compose.yml index 3df19dd..c526806 100644 --- a/stacks/llm/docker-compose.yml +++ b/stacks/llm/docker-compose.yml @@ -25,7 +25,11 @@ services: - "nvidia.com/gpu=0" volumes: - /storage1/labdata/llm/models:/models - - ./llama-swap-config.yaml:/app/config.yaml:ro + # Live config is host-managed at /config/llm (Portainer git checkout won't + # materialize a relative repo-file bind — it auto-creates a dir). The repo + # copy stacks/llm/llama-swap-config.yaml is canonical; on change, copy it to + # /config/llm/llama-swap-config.yaml on valhalla (see homelab-apply). + - /config/llm/llama-swap-config.yaml:/app/config.yaml:ro ports: - "172.20.0.1:8090:8080" healthcheck: