6 lines
171 B
Bash
6 lines
171 B
Bash
#!/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 |