#!/bin/sh set -e echo "Restarting stack while preserving volumes..." docker compose restart echo "Waiting for API readiness..." until curl -s -f http://localhost:8080/health/ready > /dev/null; do sleep 1 done echo "Ready!"