Completed for a grade of four
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Restarts the API and PostgreSQL, keeping the named volume (no `down -v`, no re-seed).
|
||||
# Restarts the API, PostgreSQL and Redis, 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
|
||||
docker compose stop api redis postgres
|
||||
docker compose up -d --wait postgres redis api
|
||||
|
||||
Reference in New Issue
Block a user