Server
Top-level server: block. Controls the HTTP listener — JSON API, the bundled web UI, authentication, permissions, and runtime limits.
The HTTP listener has two sub-blocks of its own:
server.ui— toggle the bundled UI (SPA assets and HTML fallback) on or offserver.enabled: false— drop the listener entirely
When server.enabled: false and server.ui.enabled: true snapr refuses to start — the UI cannot be served without a listener.
Fields
Scheduler-only mode
Set server.enabled: false to drop the HTTP listener entirely. Jobs still execute on their cron schedules and write logs to the host. Useful for:
- minimal sidecars in a controlled environment
- machines where the listener would be unreachable anyway
- locking out manual runs and downloads at the binary level