mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-09 00:09:43 +00:00
store ComfyUI configs in repo for one-command pod rebuild
- comfyui/: extra_model_paths.yaml + the three MiniMax H3 workflow JSONs - push-to-pod.sh stages everything onto the persistent volume - install-minimax-h3.sh rebuilds a wiped container from that stage Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# Stage everything the pod needs onto the persistent volume, so a wiped
|
||||
# container can be rebuilt with one command. Run from the repo root.
|
||||
set -euo pipefail
|
||||
|
||||
POD_HOST=${POD_HOST:-216.243.220.136}
|
||||
POD_PORT=${POD_PORT:-17561}
|
||||
DEST=root@$POD_HOST
|
||||
|
||||
ssh -p "$POD_PORT" "$DEST" 'mkdir -p /workspace/minimax-h3/workflows'
|
||||
scp -O -P "$POD_PORT" \
|
||||
scripts/pod/install-minimax-h3.sh \
|
||||
scripts/pod/download-weights.sh \
|
||||
scripts/pod/start-comfyui.sh \
|
||||
scripts/pod/make-test-images.py \
|
||||
comfyui/extra_model_paths.yaml \
|
||||
"$DEST":/workspace/minimax-h3/
|
||||
scp -O -P "$POD_PORT" comfyui/workflows/*.json "$DEST":/workspace/minimax-h3/workflows/
|
||||
echo "staged. rebuild with: ssh -p $POD_PORT $DEST 'bash /workspace/minimax-h3/install-minimax-h3.sh'"
|
||||
Reference in New Issue
Block a user