Compare commits

2 Commits
Author SHA1 Message Date
haylan 64243c65d7 Merge pull request 'fix(downloader): run as root to fix permission denied on models volume' (#18) from fix/downloader-permission-denied into main
Reviewed-on: #18
2026-09-02 18:03:59 +00:00
haylanandClaude-Bot 7863b04787 fix(downloader): run as root to fix permission denied on models volume
The curlimages/curl image drops to non-root curl_user (uid 100) by
default, but the models named volume is created root-owned by Docker,
so writes into it failed with 'Permission denied'.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2CR8yawSf7pwAVYnjwFea
2026-09-02 20:03:38 +02:00
+3
View File
@@ -41,6 +41,9 @@ services:
downloader: downloader:
image: curlimages/curl:latest image: curlimages/curl:latest
profiles: ["tools"] profiles: ["tools"]
# ponytail: named volume is created root-owned; curl_user (uid 100) can't
# write into it otherwise, so run as root for this one-off job.
user: root
volumes: volumes:
- models:/models - models:/models
entrypoint: ["sh", "-c"] entrypoint: ["sh", "-c"]