Completed for a grade of three
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user