Host on Render
Deploy Hermitbox on Render from the repository's Blueprint.
Deploy Hermitbox on Render from the repository Dockerfile, with a state disk and managed Postgres. The root Blueprint describes the whole service.
Deploy the Blueprint
- Open the deploy link above and apply the Blueprint. To deploy your own fork instead, open
Render’s New → Blueprint, connect the fork and select the branch that holds
render.yaml. - Keep the Blueprint’s Standard web-service plan and its disk. The bundled services and a default sandbox need more memory than a 512 MiB instance.
- Wait for
/healthzto become healthy, then findHERMITBOX_BOOTSTRAP_API_KEYin the service’s Environment settings.
Verify the service
curl -fsS https://<service-address>/healthzIt answers with "status":"ok". Point the CLI at the service with that key and run
hermitbox run -- echo hello, as Connect after deployment
shows.
Render notes
The Blueprint builds the repository Dockerfile and keeps one 10 GB state disk at
/var/lib/hermitbox. Render creates the Postgres database and passes its connection string to
the service as DATABASE_URL.
Render generates HERMITBOX_BOOTSTRAP_API_KEY. The key is never logged and never sent with the
public welcome page.
The image reads RENDER_EXTERNAL_URL, so agent and port aliases use the service’s verified HTTPS
origin. Set HERMITBOX_PUBLIC_URL yourself when you add a custom domain.
The image’s default user is root, and Render supplies the container filesystem and the disk. Host namespaces and cgroups are not assumed, and no Docker or KVM is attached. Keep the disk attached across deployments. Tiers and guarantees covers what runs here.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me