-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrestart-containers.cmd
More file actions
35 lines (28 loc) · 917 Bytes
/
restart-containers.cmd
File metadata and controls
35 lines (28 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
REM Quick restart script for KeyGate containers
REM Run this after code updates to ensure containers are running
echo ========================================
echo KeyGate - Container Restart
echo ========================================
echo.
echo Checking container status...
docker ps -a --format "table {{.Names}}\t{{.Status}}"
echo.
echo Starting stopped containers...
docker start oem-activation-db oem-activation-web oem-activation-redis
echo.
echo Waiting for containers to initialize...
timeout /t 5 /nobreak >nul
echo.
echo Current container status:
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
echo.
echo ========================================
echo Containers restarted successfully!
echo ========================================
echo.
echo You can now access:
echo - Admin Panel: http://localhost:8080/admin_v2.php
echo - PHPMyAdmin: http://localhost:8081
echo.
pause