Реализация ЛР 2 на 3

This commit is contained in:
2026-11-03 02:07:22 +03:00
parent 65003b6119
commit a3246a08f3
11 changed files with 732 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Перезапуск API и PostgreSQL с сохранением volume (никаких down -v).
set -eu
cd "$(dirname "$0")/.."
docker compose --env-file .env stop api
docker compose --env-file .env restart postgres
docker compose --env-file .env start api