HOME=/tmp + MPLCONFIGDIR/HF_HOME/YOLO_CONFIG_DIR stop matplotlib, fontconfig and ASR caches writing into the host bind mount (unwritable by the non-root appuser). A persistent huggingface-cache named volume holds the model downloads; .fontconfig/ is now gitignored.
- uvicorn --timeout-graceful-shutdown 15: after the drain, stop waiting
forever on open range downloads. The old container lived the full 900 s
stop grace with its port already closed, so Traefik alternated 502/200
for 15 minutes on 2026-08-25.
- /health/ready answers 503 once SIGTERM arrives, and a Dockerfile
HEALTHCHECK on it lets Traefik drop the instance within ~10 s while it
can still serve. Coolify's health check now waits on the same path
before stopping the old container. The marker drain does not flip it:
the new container is still booting at that point.
- ignore .worktrees
pip install openshorts / uvx openshorts: process, status --watch, clips,
quota and publish, all against the REST surface the dashboard and MCP
already use, so nothing can drift. Auth and target via env vars; the
self-hosted case is the same binary pointed at localhost with no key.
skills/openshorts/SKILL.md teaches skill-capable agents the async loop
(quota, submit, signed webhook, publish) including the self-host 401/404
convention and the rights acknowledgement. The skills/ ignore narrows to
third-party installs so the published skill is versioned. README wires
up CLI, skill and the n8n example under the automation section.