Files

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%