I make Noust, a free (AGPL) tool to deploy and run web apps on your own Linux servers, and one part of it might interest homelabbers: the central.
A central is a Noust whose job is managing other Noust servers. Mine is a container on a NAS at the office; from there I manage five VPSes, and every night it takes their backups. How it reaches them:
- it opens an SSH tunnel outward to each server, so nothing on the NAS is exposed to the internet
- each server installs the central’s key for an unprivileged account that can’t get a shell:
restrict, port forwarding to one local port only,ForceCommand /usr/bin/false, and the same limits repeated in aMatch Userblock of sshd- each server decides the ceiling of what its central may do (read, deploy or admin), and enforces it itself, whatever the central claims
- a host key change is never accepted silently: the tunnel closes and tells you why
- the central collects the servers’ backups through the same tunnels, so the copies end up at home on the NAS
The central’s image runs without the Docker socket; if you give it the NAS’s Docker on purpose, it can also deploy containers on the NAS itself.
- Code: https://github.com/Perkybeet/noust
- How the fleet works: https://noust.dev/docs/concepts/fleet/
OC by @Perkybeet@lemmus.org
You must log in or # to comment.


