Files
mtusi2026lab2/scripts/restart.cmd

6 lines
206 B
Batchfile

@echo off
rem Windows analogue of restart.sh: restart PostgreSQL, Valkey and API; volumes are kept.
cd /d "%~dp0.."
docker compose --env-file .env restart postgres valkey api >NUL 2>&1
exit /b %errorlevel%