8 lines
397 B
Batchfile
8 lines
397 B
Batchfile
@echo off
|
|
rem Windows analogue of restart.sh: restart the whole stand, volumes are kept; wait until healthy.
|
|
cd /d "%~dp0.."
|
|
docker compose --env-file .env restart postgres valkey seaweedfs rabbitmq worker api lb >NUL 2>&1
|
|
if errorlevel 1 exit /b 1
|
|
docker compose --env-file .env up -d --wait --no-recreate --no-deps postgres valkey seaweedfs rabbitmq worker api lb >NUL 2>&1
|
|
exit /b %errorlevel%
|