Implement lab4 S3 attachments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0.."
|
||||
rem Preserve PostgreSQL named volume, tokens and secrets.
|
||||
docker compose --env-file .env restart -t 5 db s3 api1 api2
|
||||
if errorlevel 1 exit /b 1
|
||||
docker compose --env-file .env up -d --no-deps --wait --wait-timeout 55 api1 api2
|
||||
if errorlevel 1 exit /b 1
|
||||
docker compose --env-file .env restart -t 5 lb
|
||||
exit /b %ERRORLEVEL%
|
||||
Reference in New Issue
Block a user