forked from mtusi2026/mtusi2026lab2
8 lines
334 B
Batchfile
8 lines
334 B
Batchfile
@echo off
|
|
rem Windows-вариант scripts/restart.sh (тот же порядок действий, volumes сохраняются)
|
|
cd /d "%~dp0.."
|
|
docker compose --env-file .env stop api || exit /b 1
|
|
docker compose --env-file .env restart postgres redis || exit /b 1
|
|
docker compose --env-file .env start api || exit /b 1
|
|
exit /b 0
|