Files
mtusi2026lab2/scripts/restart.sh
T

6 lines
302 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/sh
# Перезапуск API и ВСЕХ хранилищ (PostgreSQL, Valkey) с сохранением volumes. Данные не удаляются и не пересоздаются.
set -eu
cd "$(dirname "$0")/.."
docker compose --env-file .env restart postgres valkey api >/dev/null 2>&1