Implement lab4 S3 attachments

This commit is contained in:
2026-11-11 18:55:53 +03:00
parent ec540a1a72
commit d894764b39
44 changed files with 1333 additions and 23 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Keep PostgreSQL named volume and the generated DB credentials unchanged.
# Restart shared DB and both API replicas; restart proxy to refresh backends.
docker compose --env-file .env restart -t 5 db s3 api1 api2
docker compose --env-file .env up -d --no-deps --wait --wait-timeout 55 api1 api2
docker compose --env-file .env restart -t 5 lb