Files
mtusi2026lab2/scripts/restart.cmd
T
DeUnru 5bba1f6cff
Skeleton contracts / contracts (pull_request) Canceled after 0s
Выполение лабораторной 2
2026-10-24 20:44:30 +03:00

9 lines
199 B
Batchfile

@echo off
cd /d "%~dp0.."
if not exist .env (
echo restart.cmd: .env is missing ^(copy .env.example and fill it^) 1>&2
exit /b 1
)
docker compose --env-file .env restart
exit /b %ERRORLEVEL%