forked from mtusi2026/mtusi2026lab2
10 lines
164 B
Batchfile
10 lines
164 B
Batchfile
@echo off
|
|
cd /d "%~dp0.."
|
|
|
|
docker compose stop api postgres
|
|
if errorlevel 1 exit /b 1
|
|
|
|
docker compose up -d --wait postgres api
|
|
if errorlevel 1 exit /b 1
|
|
|
|
exit /b 0 |