ЛР 4: вложения в S3 и двусторонняя сверка хранилищ

This commit is contained in:
2026-11-15 11:50:57 +03:00
parent ec540a1a72
commit b58e703546
160 changed files with 16598 additions and 25 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"base_url": "http://127.0.0.1:8081",
"request_timeout_seconds": 3,
"concurrency": 12,
"failover_window_seconds": 15,
"rolling_window_seconds": 20,
"rolling_max_seconds": 120,
"compose_base_argv": ["docker", "compose", "--project-name", "highload-lab4"],
"compose_config_argv": ["docker", "compose", "--project-name", "highload-lab4", "config", "--format", "json"],
"api_services": ["api"],
"lb_services": ["lb"],
"restart_services": ["api", "postgres", "redis", "s3", "lb", "migrate", "attachment-cleanup"],
"hooks": {
"restart": ["scripts/restart.sh"],
"stop_one": ["scripts/stop-one.sh"],
"start_one": ["student-tests/lab4/hooks/start-one.sh"],
"recover_all": ["student-tests/lab4/hooks/recover-all.sh"],
"attachment_bucket_security": ["python3", "student-tests/lab4/s3_infrastructure.py", "--project", "highload-lab4", "--base-url", "http://127.0.0.1:8081", "--as-hook"]
}
}