Files
mtusi2026lab4/student-tests/lab4/config.example.json

21 lines
926 B
JSON

{
"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"]
}
}