Files
abyssVpn/deploy/03_check_netmaker.bat
arthur_chen f69efb67ad Initial commit: abyssVpn project
- Tauri desktop app (apps/desktop)
- Python Django API service (services/api)
- Deployment scripts and docs
2026-05-15 09:06:10 +08:00

15 lines
591 B
Batchfile

@echo off
setlocal
call "%~dp0config.bat"
echo [AbyssInfo] Checking Netmaker containers and endpoints ...
%SSH_BASE% "cd /root/netmaker 2>/dev/null || cd /root; docker compose ps || true; echo --- containers ---; docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'; echo --- health ---; curl -kIs --connect-timeout 10 https://api.nm.101-96-214-81.nip.io | head || true; curl -kIs --connect-timeout 10 https://dashboard.nm.101-96-214-81.nip.io | head || true"
if errorlevel 1 (
echo [AbyssInfo] Netmaker check failed.
exit /b 1
)
echo [AbyssInfo] Netmaker check completed.