forked from mtusi2026/mtusi2026lab2
Реализация ЛР 2 на 3
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Перезапуск API и PostgreSQL с сохранением volume (никаких down -v).
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose --env-file .env stop api
|
||||
docker compose --env-file .env restart postgres
|
||||
docker compose --env-file .env start api
|
||||
Reference in New Issue
Block a user