mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-11 21:40:07 +00:00
2d6dbf9f81
The network volume was resized to 1TB (which reset the pod and wiped the container disk). All weights now live persistently on /workspace; the /dev/shm overflow scheme is no longer needed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
498 B
Bash
Executable File
16 lines
498 B
Bash
Executable File
#!/bin/bash
|
|
# Persistent port forward: localhost:8188 -> pod ComfyUI.
|
|
# Auto-reconnects if the tunnel drops. Ctrl-C to stop.
|
|
# Requires the echelon key loaded in your ssh agent.
|
|
POD_HOST=216.243.220.136
|
|
POD_PORT=17561
|
|
while true; do
|
|
ssh -N -L 8188:127.0.0.1:8188 \
|
|
-o ServerAliveInterval=30 -o ServerAliveCountMax=3 \
|
|
-o ExitOnForwardFailure=yes \
|
|
-o StrictHostKeyChecking=accept-new \
|
|
-p "$POD_PORT" root@"$POD_HOST"
|
|
echo "tunnel dropped, reconnecting in 3s..."
|
|
sleep 3
|
|
done
|