Reeve Docs

Docs / Get started

Requirements

What a Reeve installation needs from the machines, the network and the clients. How to install it is in Deployment.

Components

Component Required Notes
Backend yes The whole application. Stateless; any number of replicas behind a balancer, see Running multiple replicas
Frontend yes Static single-page application served by nginx, which also proxies /api/ and /hubs/ to the backend
PostgreSQL 18 or newer with TimescaleDB yes The only persistent store
Redis 8.4 or newer yes Sessions, cache, queues and cross-replica coordination. Mandatory on every installation, one replica included. A server below 8.4 aborts the backend's start
MQTT broker only for MQTT integrations Zigbee2MQTT and MQTT-publish plugins, which connect to the broker named in their configuration. Reeve ships none: run your own, any MQTT 3.1.1 or 5 broker. The host itself and sidecar workloads never use one
Matter bridge sidecar optional Exposes Reeve devices to Apple, Google, Alexa and Home Assistant; see Matter bridge
Camera media plane (MediaMTX and go2rtc) optional One shared media server for cameras and viewers; see the camera media plane
Workload sidecars per plugin Plugin-declared containers run under the Kubernetes, Docker or manual provider

Reeve bundles no identity provider, no TLS terminator, no metrics or tracing stack and no backup tool. Bring your own; see Observability and Backup and restore.

Platform

  • Images. The published images (ghcr.io/reeve-iot/reeve-backend, reeve-frontend and reeve-matter-bridge) are linux/amd64. The backend image is built on Microsoft's aspnet:11.0 image, whose userland is Ubuntu 26.04 LTS (glibc 2.43); an image you derive from it installs Ubuntu 26.04 packages. The machine's own distribution does not matter to the containers.
  • Docker Compose. Docker Engine with the Compose plugin (profiles and --profile '*' are used). The Docker workload provider needs the daemon socket and the host's docker group id, which only the opt-in docker-compose.docker-workloads.yml overlay provides; see The Docker socket. Podman works best-effort through its Docker-compatible socket.
  • Kubernetes. Kubernetes 1.30 or newer (the chart's kubeVersion) and Helm 3.8 or newer. The backend pod's preStop hook is the native sleep action, which needs 1.30. Optional pieces the chart can use: an ingress controller (the chart's annotations target ingress-nginx), the External Secrets Operator, the Prometheus Operator for the ServiceMonitor, Multus for network attachments, and a PostgreSQL operator such as CloudNativePG. Workload user namespaces need Kubernetes 1.33 or newer and a runtime that supports them (idmap mounts for tmpfs need Linux 6.3 or newer).
  • Building from source. The .NET 11 SDK and Node.js 26; see Getting started.

Processor

The backend runs on .NET 11, and the processor of the machine that runs it decides whether it starts at all and how fast. The backend image is published ReadyToRun: the host and the framework ship precompiled for the .NET 11 ReadyToRun target, and a processor below that target runs the same image by compiling that code just in time instead. That costs start-up time, not features; the difference is in the boot and the first requests, not in steady running.

Processor Runs Reeve Start-up
x64 at x86-64-v3 (x86-64-v2 plus AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT and MOVBE) yes Precompiled code is used
x64 at x86-64-v2 (CX16, POPCNT, SSE3, SSSE3, SSE4.1 and SSE4.2) without the x86-64-v3 set yes Slower: the host and framework code is compiled just in time
x64 below x86-64-v2 (no SSE4.2 or POPCNT) no The .NET runtime refuses to start, printing that the CPU is missing baseline instruction sets
arm64 with LSE atomics (Armv8.1 and newer) from an image you build Precompiled code is used
arm64 without LSE (Armv8.0) from an image you build Slower, as for x86-64-v2
32-bit (x86, armv7), including a 32-bit system on a 64-bit processor no No backend image builds for it

A processor's name or family does not tell its level. Check the machine itself:

  • x64. On a system with glibc 2.33 or newer, ld.so --help (or /lib64/ld-linux-x86-64.so.2 --help) ends with the levels the processor supports, marked supported. Without that, run it in the backend's base image: docker run --rm --entrypoint ld.so mcr.microsoft.com/dotnet/aspnet:11.0 --help. x86-64-v3 (supported, searched) means precompiled code; only x86-64-v2 means the slower start; neither means Reeve does not run. The flags behind them are in /proc/cpuinfo: sse4_2 and popcnt for the minimum, avx2, bmi2, fma, f16c, movbe and abm (LZCNT) for the precompiled code.
  • arm64. grep -m1 Features /proc/cpuinfo lists atomics when the processor has LSE.

The published images are amd64 only; for arm64, build the backend image yourself with docker buildx build --platform linux/arm64, which compiles it for arm64; see Image builds. On a slow machine that compiles its start-up just in time, raise Bootstrap:MaxStartupSeconds (60 s) if the start-up watchdog ends the boot with exit code 75; see Bootstrap and safe mode.

Sizing

The Compose stack's limits are a working starting point for a typical installation:

Service Memory limit
Backend 1 GiB
PostgreSQL 512 MiB (shared_buffers=128MB, max_connections=100)
Redis 256 MiB
Frontend 64 MiB
Matter bridge 512 MiB
Media plane, go2rtc remux 512 MiB each

The chart requests 250m CPU and 512 MiB for each backend replica, limited to 1 CPU and 1 GiB. Plugins load in-process, and an install or update holds its new artifact beside what is already resident, so raise the backend's limit with the number of plugins. The cluster library's default timings are sized for a small node of the Raspberry Pi 4 class; see Running multiple replicas. Disk use is dominated by telemetry history and its retention; see History and retention.

Database

  • PostgreSQL 18 or newer with the TimescaleDB extension.
  • TimescaleDB Community edition. Reeve is MIT-licensed, but it uses compression, retention policies and continuous aggregates, which are Timescale License features, so the Apache-2.0-only -oss edition is not enough. Self-hosting under the Timescale License is free, including commercially.
  • transaction_timeout and statement_timeout at 0 for the application role, the database and the server; the backend refuses a connection that has either.
  • With a standby, synchronous replication, and wal_receiver_status_interval at 1 s; see PostgreSQL with a standby.
  • Enough max_connections for every replica's pools; see Database.

Network

  • One origin. Browsers reach the frontend, which proxies the API; the backend is not published on its own. A reverse proxy in front must pass WebSocket upgrades on /hubs and /ws/workloads, keep read timeouts above the 25-second workload heartbeat, and must not compress the API or hub paths; see Network policy and ingress.
  • HTTPS and a domain for passkeys. The WebAuthn relying-party id is a registrable domain or localhost, never an IP address, and browsers allow passkeys only in a secure context. Passkeys in the Android app also need /.well-known/assetlinks.json served as JSON; see Passkeys on the Android app.
  • Matter bridge. IPv6 and mDNS on the LAN segment shared with the controllers, host networking or a LAN attachment, and UDP 5540, TCP 5540 and UDP 5353 open from the LAN.
  • Media plane. One port, UDP and TCP under the same number, reachable from viewers and published without rewriting.
  • Hardware integrations. Radios and Bluetooth live on labelled nodes or the Docker host, with the host prerequisites (Bluetooth daemon, tun module, stable serial links, unfiltered multicast) in place; see Node preparation.

Clients

  • Web. A current desktop or mobile browser.
  • Android app. Android 8.0 (API 26) or newer, with Google Play services: passkeys need its credential provider, and Matter and Thread onboarding use its Home and Thread network services.
    • The Quick Settings tile prompt needs Android 13 (API 33) or newer.
    • Location reporting with "Allow all the time" is granted in two steps on Android 11 and newer: fine location first, then a separate request that opens the settings page. The app asks in that order.
    • The baby monitor needs full-screen notifications, exact alarms, exemption from battery optimisation and access to Do Not Disturb, which the app requests when the feature is enabled.
    • Matter commissioning from the phone needs the Bluetooth scan and connect permissions (and fine location for the scan).
    • Camera and baby-monitor pages start media only after a tap, because the Android WebView requires a user gesture. A camera serves about three viewers at once.
    • The supported build for a phone is the signed Release APK attached to each GitHub Release.

The mobile app is described in Mobile.