until curl -sf http://localhost:8080/health >/dev/null; do echo 'waiting for health check...' sleep 2 done echo 'up'