feat: перенос core-логики 2 лабы

This commit is contained in:
Enterxx2
2026-10-19 19:16:19 +03:00
parent 0ab3a341aa
commit aa971fbd27
110 changed files with 5177 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
# Перезапуск API и всех используемых хранилищ (PostgreSQL, Valkey) с сохранением
# volumes: никаких down -v, flush или повторного seed. Готовность ждёт тест.
cd "$(dirname "$0")/.."
ENV_FILE="${ENV_FILE:-.env}"
docker compose --env-file "$ENV_FILE" restart postgres valkey
docker compose --env-file "$ENV_FILE" restart api