Continue LLM deployment when compose restart fails
This commit is contained in:
+3
-1
@@ -213,7 +213,9 @@ if [ '${COMPOSE_UP[$TARGET]}' = '1' ]; then
|
|||||||
podman build --no-cache --label cfhash=\$cfhash -t \$img:latest -f dankclaw/\$dir/Containerfile .
|
podman build --no-cache --label cfhash=\$cfhash -t \$img:latest -f dankclaw/\$dir/Containerfile .
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
podman-compose -f '${COMPOSE[$TARGET]}' up -d
|
if ! podman-compose -f '${COMPOSE[$TARGET]}' up -d; then
|
||||||
|
echo ' WARN: compose restart failed; continuing with LLM deployment.' >&2
|
||||||
|
fi
|
||||||
|
|
||||||
# A Caddyfile render is a bind-mount content change, not a container
|
# A Caddyfile render is a bind-mount content change, not a container
|
||||||
# config change: the caddy container often survives 'up -d' and keeps
|
# config change: the caddy container often survives 'up -d' and keeps
|
||||||
|
|||||||
Reference in New Issue
Block a user