Выполнить лабораторную 3: балансировка, отказы и исследование масштабирования

This commit is contained in:
wpyatzy
2026-10-30 20:42:40 +03:00
parent 0ab3a341aa
commit 62de9484fe
112 changed files with 1187581 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
# Preserve the healthcheck used in the recorded research series.
# Production/normal compose.yaml uses a cheaper socket-based HTTP probe.
services:
api:
healthcheck:
test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://localhost:8080/health/ready', timeout=1)"]
interval: 2s
timeout: 2s
retries: 2