forked from mtusi2026/mtusi2026lab2
6 lines
195 B
Bash
6 lines
195 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
# Restart the API, PostgreSQL and the session cache. Named volumes stay; nothing is re-seeded.
|
|
docker compose --env-file .env restart api postgres redis
|