fix: add TRANSMISSION defaults and curl timeout to production deploy
Deploy Dashboard (Dev) / Backend Tests (push) Successful in 25m8s
Deploy Dashboard (Dev) / Frontend Tests (push) Successful in 1m7s
Deploy Dashboard (Dev) / Deploy to Dev (push) Successful in 4m19s

- Add :-admin defaults for TRANSMISSION_USER/PASS in docker-compose.yml
  to prevent crash on startup when vars are unset
- Add --max-time 10 to registry mirror health check curl to prevent
  2+ minute hang when mirror is unreachable

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-05-18 00:45:15 +08:00
parent 9811b7023d
commit 9893294e72
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ jobs:
mirror_host="100.78.131.124:5501"
if command -v curl >/dev/null 2>&1; then
if curl -fsS "http://${mirror_host}/v2/" >/dev/null; then
if curl -fsS --max-time 10 "http://${mirror_host}/v2/" >/dev/null; then
echo "Registry mirror is healthy at ${mirror_host}"
else
echo "Warning: registry mirror health check failed at ${mirror_host}; continuing with normal pull path"