Files
2026-11-13 20:42:10 +03:00

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