fix: readiness check without -f (TT-RSS may return 5xx during boot)
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ docker run -d --name "$CONTAINER_NAME" --link "$DB_CONTAINER:db" -p 8080:8080 "$
|
||||
echo "Waiting for TTRSS to be ready..."
|
||||
READY=false
|
||||
for i in $(seq 1 60); do
|
||||
if curl -sf -o /dev/null "$BASE_URL/"; then
|
||||
if curl -s -o /dev/null "$BASE_URL/"; then
|
||||
echo "TTRSS ready (attempt $i)"
|
||||
READY=true
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user