This commit is contained in:
2026-10-23 14:47:53 +03:00
parent 65003b6119
commit 84fc48d315
29 changed files with 1940 additions and 24 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env python3
"""Cross-platform restart hook; on Windows use: ACTION_SCRIPT=scripts/restart.py"""
import subprocess
import sys
from pathlib import Path
root = Path(__file__).resolve().parents[1]
result = subprocess.run(
['docker', 'compose', 'restart', 'api', 'postgres', 'redis'],
cwd=root,
check=False,
)
raise SystemExit(result.returncode)