Files
mtusi2026lab2/scripts/restart.cmd
T
2026-11-10 16:58:53 +03:00

10 lines
164 B
Batchfile

@echo off
cd /d "%~dp0.."
docker compose stop api postgres
if errorlevel 1 exit /b 1
docker compose up -d --wait postgres api
if errorlevel 1 exit /b 1
exit /b 0