Files
mtusi2026lab4/scripts/restart.sh
T

7 lines
273 B
Bash

#!/bin/sh
# Restart API and every store used by the lab. Volumes are preserved.
set -eu
cd "$(dirname "$0")/.."
docker compose --env-file .env up -d --no-recreate --no-build postgres minio api-1 api-2 lb
docker compose --env-file .env restart postgres minio api-1 api-2 lb