#!/usr/bin/env bash
set -euo pipefail

# Quick restart — same image, same volumes.
# Use when the container is stuck or after config changes.

cd "$(dirname "$0")/.."

if [[ -f .env ]]; then
    set -a
    source .env
    set +a
fi

docker compose -f docker/docker-compose.yml restart
