forked from mtusi2026/mtusi2026lab2
7 lines
180 B
Bash
Executable File
7 lines
180 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
# Stop the API first; bring back PostgreSQL with its existing named volume.
|
|
docker compose stop api db
|
|
docker compose up -d --wait db api
|