Skip to content

Runner

The youSleep runner runs analyses on your own hardware. It takes analysis jobs from the youSleep platform and runs each one on your host under rootless Podman. For each job it downloads the recording from the storage the platform names, runs the analysis, and uploads the result to the same storage.

Version 0.32.6+52f1d85c · Image ghcr.io/yousleep-ai/runner

These pages are for the people who set up and operate a site:

  • Quick start: the short path, from the request to the first analysis at your site, and then your own bucket.
  • Set up a site: who does what, in order, from the organisation's request to the first analysis at the site, with the network allow-list.
  • Keep recordings in your own bucket: the bucket, its key and its CORS rule, and what youSleep does in it.
  • Install the runner: what you need, the install script and its options, and approval.
  • Operate the runner: checks, logs, support, upgrades and removal.
  • Data and security: what reaches youSleep, who holds which key, the network allow-list, and what doctor checks.

How the runner works

  • It connects outbound over HTTPS and opens no port.
  • It signs every request with its own key, which stays on the host.
  • It acts only on answers signed by the platform. You pin the platform's root key at install, and the runner checks every answer against it.
  • Every analysis runs without network access, as an unprivileged user, on a read-only file system, with hard limits on memory, CPU and processes.
  • Your configuration limits what the platform may ask of the runner: the largest job, the kinds of job, the storage it may reach, the largest output, and whether log lines leave your site. Nothing the platform sends can change these limits.
  • Each release is one public image that contains the runner's source code, so you can read exactly what runs.

Requirements

  • Linux on x86_64 with cgroup v2. The image is built for linux/amd64 only.
  • Rootless Podman 5.7 or later. Ubuntu 26.04, RHEL 9.8 and RHEL 10.2 include it in their standard packages; older releases need a newer Podman. The install script delegates the cpu, memory and pids controllers to the runner's user if they are not delegated already.
  • Outbound HTTPS to the platform, to the storage it names, and to the registries that hold the analyses' images.
  • A volume for the runner's home. Use an encrypted one: a job's files are kept there while it runs.
  • The cores and memory you offer, and disk space for the analyses' images.
  • An enrolment token and the storage address, which Add a runner on the platform shows (Before you start).