#!/bin/bash docker compose restart for i in $(seq 1 30); do if curl -s -f http://localhost:8080/health/ready > /dev/null; then exit 0 fi sleep 2 done exit 1