forked from mtusi2026/mtusi2026lab3
feat: API replicas over HAProxy (3)
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
COMPOSE=${COMPOSE:-docker compose}
|
||||
COMPOSE=${COMPOSE:-podman compose}
|
||||
|
||||
$COMPOSE stop api postgres redis
|
||||
$COMPOSE start postgres redis api
|
||||
$COMPOSE stop lb api redis postgres
|
||||
$COMPOSE start postgres redis api lb
|
||||
|
||||
Reference in New Issue
Block a user