Files
mtusi2026lab7/scripts/restart.cmd
T

7 lines
322 B
Batchfile

@echo off
rem Restart hook (Windows): same as restart.sh, volumes are kept; OpenBao is unsealed by the operator script.
cd /d "%~dp0.."
docker compose --env-file .env restart -t 5 openbao || exit /b 1
python scripts\lab7.py unseal || exit /b 1
docker compose --env-file .env restart postgres redis broker s3 api worker lb