forked from mtusi2026/mtusi2026lab3
Лабораторная 3: реализован стенд с балансировщиком и идемпотентностью
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Restart the API and all used state stores, preserving persistent volumes.
|
||||
# Never use `down -v`, never flush/re-seed the database.
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Restart running services; up -d brings any stopped replica back up.
|
||||
docker compose restart --timeout 15
|
||||
docker compose up -d
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user