forked from mtusi2026/mtusi2026lab5
Реализовать lab5 на оценку 4: async attachments, outbox, worker и variants.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0\.."
|
||||
if "%API_REPLICAS%"=="" set API_REPLICAS=2
|
||||
python scripts\init_secrets.py
|
||||
if errorlevel 1 exit /b 1
|
||||
docker compose --env-file .env config --quiet
|
||||
if errorlevel 1 exit /b 1
|
||||
docker compose --env-file .env up -d --build --scale api=%API_REPLICAS%
|
||||
if errorlevel 1 exit /b 1
|
||||
echo stack up: api scale=%API_REPLICAS%, entry http://127.0.0.1:8080
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user