Files
mtusi2026lab2/scripts/restart.sh
T
vikaandCursor c4c7a6aca2 Перенести мессенджер в PostgreSQL и сессии в Redis.
Подтверждённые сообщения и действующие сессии переживают перезапуск, история читается по индексу, копия восстанавливается в новый том.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 12:24:59 +03:00

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