реализован уровень 4

This commit is contained in:
2026-10-15 20:12:22 +03:00
parent 158fed100c
commit 09b4b1d49d
25 changed files with 1794 additions and 91 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh
set -eu
project_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
cd "$project_root"
env_file=${ENV_FILE:-.env}
case "${CACHE_ACTION:-}" in
stop)
docker compose --env-file "$env_file" stop redis
;;
start)
docker compose --env-file "$env_file" up -d --wait redis
;;
*)
echo "CACHE_ACTION must be stop or start" >&2
exit 2
;;
esac