Documentation overview
Wonkru MDM consists of a Serverpod server, a Flutter admin panel, and an Android Device Owner agent. Use the links below to find the installation, development, and administration guides.
Documentation map
Section titled “Documentation map”| Section | For whom |
|---|---|
| 1. Architecture | Everyone: components, key decisions, data flow |
| Install | Operator: step-by-step Docker Compose setup on one server |
| Custom TLS certificate | Operator: private CA, Caddy setup, and Android enrollment |
| 2. Development setup | Developer: setup from scratch, ports, emulator/device |
| 3. Detailed deployment guide | Operator: alternative modes, Docker image, secrets, proxy, first admin, APK |
| 4. Server | Developer: data model, endpoints, command queue, storage, 2FA |
| 5. Panel | Developer and admin: pages, architecture, build |
| 6. Mobile agent | Developer and operator: provisioning, the on-device IT page, stream, commands, policy application, native layer |
| 7. End-to-end flows | Everyone: enrollment, commands, policies, apps, files, connection status, login, and email |
| 8. Configuration reference | Operator: environment variables, setting keys, constants |
| 9. Operational guidance and troubleshooting | Everyone: setup reminders, device behavior, common messages |
Quickest start
Section titled “Quickest start”Install the published image and open the panel from the introduction quick start or the installation guide. The installer creates the Starter policy and a device admin password.
Developer start
Section titled “Developer start”After installing the required tools and creating wonkru_mdm_server/config/passwords.yaml
as described in Development setup:
cd wonkru_mdm_serverserverpod startThe panel opens at http://localhost:8099. On first launch, create the admin, create a
policy and set it as the default, then get the enrollment key from Settings. To set up
the agent on an emulator:
2.5.
Must-read before going to production
Section titled “Must-read before going to production”-
Standard installation step by step: Install
-
Initial admin setup requires no secret: 3.6
-
The server applies database migrations on startup. Build the Docker image from source
-
The pepper and signing key must not be changed afterwards: 3.4
Glossary
Section titled “Glossary”| Term | Meaning |
|---|---|
| Device Owner (DO) | Android Enterprise device management authority; the agent uses it to apply restrictions, manage setup, and lock the device |
| Provisioning | Enrolling a factory-reset device as Device Owner by downloading the agent through a QR code |
| Enrollment key | The shared secret required for a device to enroll with the server; it can be rotated from the panel |
| Policy | The settings, restrictions, apps, files, and certificate bundle applied to a device; it is versioned |
| Pivot | App/file/certificate rows attached to a policy |
| Command | A one-off operation from the panel to a device (lock, reboot, app list…) |
| Bulk | A group of commands sent to multiple devices at once (bulkId) |
| Sync | The full telemetry bundle sent by the agent |
| Heartbeat | The liveness message the agent sends every 60 s |
| Launcher mode | The agent being the home screen and showing only allowed apps |
| IT page | The management screen on the device. On a standard install the password is STARTER_ADMIN_PASSWORD in .env. The shield gesture is in 6.6 |