AMPNM Docker — Running & Working
Screenshots, Docker setup steps, and the full solution for the ERR_TOO_MANY_REDIRECTS fix — all in one place.
App Screenshots

Secure sign-in console at localhost:2266/login.php — the entry point to the monitoring system.
Get Up & Running in 4 Steps
From zero to a live network monitoring dashboard in under 5 minutes.
Install Docker
Install Docker Desktop on Windows. For Linux/Mac use the official Docker install script.
winget install Docker.DockerDesktopPull & Run AMPNM
Clone the repo and run docker compose. AMPNM starts on port 2266 with a MySQL database.
docker compose up -d --buildGet Your Free License
Register on the portal, navigate to Licenses → AMPNM Core → Generate Free Key.
portal.itsupport.com.bd/registerActivate & Monitor
Paste your license key. The system auto-verifies and unlocks the full dashboard.
localhost:2266/license_setup.phpERR_TOO_MANY_REDIRECTS — Fix Walkthrough
A redirect loop was triggered on fresh Docker container restarts. Here is exactly what happened and how it was fixed.
Root Cause: Redirect Loop
On fresh container restart, core_key was missing from DB. auth_check.php redirected to license_setup.php, which detected an active license and redirected back — infinite loop.
Fix: Auto Re-Verification
auth_check.php now detects when core_key is missing but a license key exists. It calls verifyLicenseWithPortal(force=true) to silently re-populate the key without any redirect.
Result: Self-Healing on Boot
Every container restart auto-recovers the core_key. No manual intervention needed. The HTTP chain is now: localhost:2266 → 302 → login.php → 200 OK.
HTTP Flow After Fix
localhost:2266 → 302 → login.php → 200 OK ✓. After login, the dashboard loads fully with license status active and all monitoring features enabled.
- if (empty($raw_key)) { - header('Location: license_setup.php'); exit; - } + // Auto-recover: re-verify if license key exists but core_key is missing + if (empty($raw_key) && !empty(getAppLicenseKey())) { + verifyLicenseWithPortal(true); // force re-fetch core_key + $raw_key = decryptSensitiveValue(getAppSetting('core_key')); + }
Deployment Solutions
Docker Cluster Orchestration
Scale licenses securely across hundreds of swarmed containers. Validate key allocations and limits automatically as nodes spin up and collapse.
Private Server Deployments
Operate licensing validation services inside private air-gapped server configurations, utilizing offline database fallback matrices.
Corporate Network Compliance
Enforce license validity, inspect hardware node limits, and audit access logs using centralized web consoles developed by IT Support BD.
Edge Telemetry Integrations
Collect high-performance metrics directly at node boundaries. Stream performance telemetry data with zero performance regressions.