Files
mtusi2026lab4/scripts/restart.cmd
T
Чиняева f39ae06ef3 Реализовать лабораторную 4 на оценку 5
Добавить приватное S3-хранилище, вложения, presigned upload, reconciler и доказательства.
2026-11-07 01:37:21 +03:00

11 lines
312 B
Batchfile

@echo off
REM Restart API and ALL state stores without deleting named volumes.
setlocal
cd /d "%~dp0.."
if not exist .env (
echo missing .env; copy .env.example and set local synthetic credentials>&2
exit /b 2
)
docker compose --env-file .env restart postgres redis seaweedfs api lb
exit /b %ERRORLEVEL%