forked from mtusi2026/mtusi2026lab3
9 lines
226 B
Bash
9 lines
226 B
Bash
#!/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!" |