forked from mtusi2026/mtusi2026lab2
Подтверждённые сообщения и действующие сессии переживают перезапуск, история читается по индексу, копия восстанавливается в новый том. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
212 B
Bash
6 lines
212 B
Bash
#!/bin/sh
|
|
# Restart the API and every store the API uses. Volumes stay in place.
|
|
# Do not seed, flush, or run compose down -v from here.
|
|
set -eu
|
|
docker restart mtusi-lab2-api mtusi-lab2-postgres mtusi-lab2-redis
|