Local (development)
systemd (Linux server)
Create /etc/systemd/system/neuralcleave.service:
Docker
Docker Compose
Tauri desktop app
Build a self-contained desktop app (bundles both the gateway and the dashboard):
The output is a platform-native installer (.exe on Windows, .dmg on macOS, .AppImage / .deb on Linux). The installer ships:
- The Next.js frontend (static export)
- The Python gateway as a Tauri sidecar binary
- A system tray icon with start/stop controls
Reverse proxy (nginx)
If you expose the dashboard publicly:
Do not expose the gateway API publicly without adding authentication. The gateway has no built-in auth layer.
Environment variables reference