forked from mtusi2026/mtusi2026lab2
8 lines
205 B
Bash
Executable File
8 lines
205 B
Bash
Executable File
#!/bin/sh
|
|
# Restarts the API and PostgreSQL, keeping the named volume (no `down -v`, no re-seed).
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
|
|
docker compose stop api postgres
|
|
docker compose up -d --wait postgres api
|