forked from mtusi2026/mtusi2026lab2
ЛР 2: PostgreSQL, сессии в Valkey, кэш истории (трек 1)
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
compose() { docker compose --env-file .env "$@"; }
|
||||
|
||||
compose stop api
|
||||
compose restart postgres valkey valkey-cache
|
||||
compose up -d --wait postgres valkey valkey-cache
|
||||
compose up -d api
|
||||
Reference in New Issue
Block a user