forked from mtusi2026/mtusi2026lab3
Добавить compose-стенд с HAProxy и двумя API-репликами
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
docker compose --env-file .env restart postgres valkey
|
||||
docker compose --env-file .env up -d --wait postgres valkey
|
||||
docker compose --env-file .env restart api lb
|
||||
Reference in New Issue
Block a user