Files
mtusi2026lab5/scripts/stop-worker.sh

7 lines
236 B
Bash
Executable File

#!/bin/sh
# Stops every worker container (the API, relay and broker keep running). Volumes are untouched.
set -eu
cd "$(dirname "$0")/.."
docker compose stop worker
docker compose ps worker --all --format 'table {{.Name}}\t{{.Status}}'