@patiom/daemon
v0.0.12
Published
Patiom daemon — bare-metal deployment server agent
Readme
@patiom/daemon
The server-side agent for Patiom — radically simple, containerless, bare-metal deployment for Node.js.
What it does
- Manages app releases under
/var/lib/patiom/apps/with zero-downtime port switching - Runs apps as isolated systemd processes (
DynamicUser=yes,ProtectSystem=strict,NoNewPrivileges=yes,PrivateTmp=yes,RestrictNamespaces=yes,ProtectHome=yes) - Generates rpxy reverse proxy config with automatic Let's Encrypt certificates
- Collects server-wide + per-app CPU/memory metrics every 60s via cgroup v2, stored as NDJSON
- Provides an HTTP API (port 4000) for the Patiom CLI to deploy, configure, and monitor apps
Install
Most users install via the bootstrap script (which installs Node, rpxy, and the daemon together):
curl -sSL https://install.patiom.dev/setup.sh | sudo bashOr install manually:
npm install -g @patiom/daemonCLI
patiom-server serve # start the daemon HTTP server
patiom-server setup --email <email> # first-time setup (rpxy, ACME, master token)
patiom-server upgrade # update to latest version + restart serviceAll commands require root.
Full documentation
See the main README for:
- Quick Start
- Configuration (
patiomkey inpackage.json) - Security model (7 systemd hardening directives)
- All CLI commands
- API endpoints
- Roadmap
License
ISC
