forked from mtusi2026/mtusi2026lab4
8 lines
275 B
Bash
Executable File
8 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
# Explicit persistence hook for lab3.
|
|
# Restart both API replicas and PostgreSQL. Volumes are preserved: no down -v,
|
|
# no flush, no re-seed. The load balancer stays in front of the replicas.
|
|
cd "$(dirname "$0")/.."
|
|
docker compose restart db minio api1 api2
|