forked from mtusi2026/mtusi2026lab2
лр2
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@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
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose stop api postgres
|
||||
docker compose up -d --wait postgres api
|
||||
Reference in New Issue
Block a user