lab5: durable RabbitMQ jobs, separate worker, thumbnail variants

This commit is contained in:
2026-11-19 20:11:05 +03:00
parent 276dbdad8a
commit 10406b2b3d
43 changed files with 1912 additions and 30 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
: "${TARGET_INSTANCE_ID:?}"
case "$TARGET_INSTANCE_ID" in
api-1) SVC=api1 ;;
api-2) SVC=api2 ;;
*) echo "unknown instance alias: $TARGET_INSTANCE_ID" >&2; exit 1 ;;
esac
docker compose --env-file .env stop "$SVC"