#!/bin/sh set -eu cd "$(dirname "$0")/.." # Restart the LB, every API replica and PostgreSQL. The pgdata volume stays; nothing is re-seeded. docker compose --env-file .env stop lb api docker compose --env-file .env restart postgres # Brings back all replicas (including one left stopped by stop-one.sh); migrate re-runs as a no-op. docker compose --env-file .env up -d --wait