ЛР 3: балансировка, идемпотентность и failover — на 3
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
if [ -n "${LAB3_PROJECT:-}" ]; then
|
||||
set -- --project-name "$LAB3_PROJECT"
|
||||
fi
|
||||
docker compose "$@" restart --no-deps --timeout 4 postgres
|
||||
docker compose "$@" restart --no-deps --timeout 4 api1 api2
|
||||
Reference in New Issue
Block a user