#!/bin/sh set -eu echo "Restarting API and Postgres (preserving volumes)..." docker compose restart api1 api2 postgres echo "Waiting for Postgres to be healthy..." sleep 5