Mobile App Setup
Lagoon Cockpit's mobile app gives you full server management from your phone — real-time metrics, container controls, logs, and push notifications.
Requirements
- iOS 15+ or Android 10+
- A running Cockpit API instance (see Docker Self-Hosting)
Install
The app is available on both platforms:
- iOS: Search "Lagoon Cockpit" on the App Store
- Android: Search "Lagoon Cockpit" on Google Play
Connect to Your Server
- Open the app
- Tap Add Server
- Enter your server details:
- Name: A friendly name (e.g., "Production VPS")
- URL: Your Cockpit API URL (e.g.,
https://cockpit.example.com) - API Key: The
API_KEYfrom your.env
- Tap Connect
The app authenticates and stores the JWT token securely in the device keychain.
Multi-Server
You can connect up to 3 servers on the Community Edition (unlimited on Pro/Enterprise). Switch between servers from the server selector in the app header.
Features
Dashboard
Real-time gauges for CPU, RAM, and disk usage. Auto-refreshes via Server-Sent Events (SSE). Problem containers are highlighted automatically.
Container Management
- View all containers with status indicators
- Start, stop, restart individual containers
- Bulk operations (start all, stop all)
- View container logs with search
- Execute commands inside containers
Compose Stacks
Manage Docker Compose stacks as groups. View stack health, start/stop entire stacks.
System Map
Visual node-graph showing your infrastructure topology — containers, networks, and connections.
Alerts
Configure threshold-based alert rules (e.g., "CPU > 90% for 5 minutes"). Receive push notifications when alerts fire.
Biometric Lock
Enable Face ID or fingerprint authentication to protect the app. Configure auto-lock timeout in Settings.
Push Notifications (Pro)
Push notifications require the Pro edition and an Expo push token:
- Set
EXPO_ACCESS_TOKENin your server's.env - In the app, go to Settings > Notifications
- Enable push notifications
- The app registers its push token with the server automatically
You'll receive notifications for:
- Alert rule triggers
- Container state changes (crash, restart)
- Incident updates (Pro)
Troubleshooting
"Connection refused" or timeout
- Verify the API is reachable from your phone's network
- If using a reverse proxy, ensure WebSocket/SSE is not being buffered
- Check
CORS_ORIGINSincludes your app's origin
SSE not updating in real-time
- Some reverse proxies buffer SSE streams. Add
proxy_buffering offin Nginx - Check that the
/api/streamendpoint is accessible
Push notifications not arriving
- Verify
EXPO_ACCESS_TOKENis set and valid - Check the server logs for push delivery errors
- Ensure notifications are enabled in your device's OS settings