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 <noreply@anthropic.com>
This commit is contained in:
ginnoir
2026-06-27 00:04:46 -05:00
co-authored by Claude Opus 4.8
parent 63fd3fd1cc
commit f20712a5d8
+5 -1
View File
@@ -25,7 +25,11 @@ services:
- "nvidia.com/gpu=0" - "nvidia.com/gpu=0"
volumes: volumes:
- /storage1/labdata/llm/models:/models - /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: ports:
- "172.20.0.1:8090:8080" - "172.20.0.1:8090:8080"
healthcheck: healthcheck: