chore: add restart and failover action scripts

This commit is contained in:
2026-10-28 23:42:33 +03:00
parent e782d6c86d
commit bac3a9ac10
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
set -e
docker compose restart postgres
docker compose restart redis
docker compose restart api
docker compose restart nginx
+6
View File
@@ -0,0 +1,6 @@
@echo off
if "%TARGET_INSTANCE_ID%"=="" (
echo TARGET_INSTANCE_ID is not set
exit /b 1
)
docker stop %TARGET_INSTANCE_ID%