ЛР3: балансировка API и отказоустойчивость
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
# Keep PostgreSQL named volume and the generated DB credentials unchanged.
|
||||
# Restart shared DB and both API replicas; restart proxy to refresh backends.
|
||||
docker compose --env-file .env restart -t 5 db api1 api2 lb
|
||||
Reference in New Issue
Block a user