Добавить балансировщик HAProxy, две реплики API и хуки отказа

This commit is contained in:
Pavel Grigorev
2026-11-12 19:45:14 +03:00
parent 291dfe65bf
commit 5263d3ec7a
9 changed files with 328 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
@echo off
cd /d "%~dp0.."
docker compose stop api || exit /b 1
docker compose restart postgres valkey || exit /b 1
docker compose up -d --no-build --no-recreate --wait postgres valkey || exit /b 1
docker compose start api || exit /b 1