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:
co-authored by
Claude Opus 4.8
parent
63fd3fd1cc
commit
f20712a5d8
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user