From a bare server to a live app
Sproobo runs on Linux servers you already own or rent: a Hetzner box, a bare-metal machine, whatever you have root on. Enroll it once, and every deploy after that is a git push and a health-gated blue-green swap.
The whole path, in 2 minutes 41 seconds
A fresh Ubuntu 26.04 box with nothing on it, the one-liner, the bootstrap at real speed, then an app from a repo with no Dockerfile, live with HTTPS. Every step below is in it.
Transcript
- In Sproobo, add a server. You get one command, with a one-time token in it.
- This is a fresh Ubuntu 26.04 server. No Docker, nothing installed. Paste the command as root.
- It installs Docker, the Sproobo agent, a firewall baseline and the Caddy proxy. SSH stays open the whole time.
- The agent only dials out, on port 8443. You don't open a single inbound port for Sproobo, and it works behind NAT.
- This is the real install, at real speed. Docker first, then the agent.
- Every step checks before it acts, so running the command again is safe.
- On a fresh two-core box, the whole bootstrap takes about seventy seconds.
- All 9 steps passed. The server is ready. Now the app.
- GitHub is already connected for this org. That's a one-time step. Pick the repo and the server, then give it a domain and a health path.
- This repo has no Dockerfile, so Sproobo detects the framework and builds it with Railpack. Create it, then deploy it.
- The build runs on Sproobo's builder, not on your server. Your server never compiles anything.
- It pulls the finished image, starts the new container, waits for the health gate and only then switches traffic.
- HTTPS is already on. Caddy got the certificate and renews it.
- And it's plain Docker, on a server you own. If you ever leave, everything is still there.
- From here, every deploy is a git push and the same health-gated swap. Sproobo is free for one server.
Before you start
- A Linux server you control, with root SSH access: Ubuntu 22.04/24.04/26.04, Debian 12/13 (Debian-family), or Amazon Linux 2023 (RHEL-family).
- Outbound access to three ports, and no inbound ports opened for the platform. The agent dials out to the control plane; it never listens for an inbound connection from Sproobo. If your firewall filters outbound traffic, allow:
- 8443 to gw.sproobo.com: the agent's channel (enrollment, tasks, logs and facts), over mutual TLS.
- 443 to cp.sproobo.com: the installer and agent downloads.
- 5000 to cp.sproobo.com: pulling your app images from the Sproobo registry.
- A domain you can point DNS at, if you want a public URL with TLS. You can also deploy first and wire up DNS afterward.
The path
Add a server
From the dashboard: Servers → Add server. Or from the CLI: sproobo enroll <name> -y. Either way you get back a one-liner with a single-use enroll token, valid for 30 minutes, baked in.
Run the one-liner as root
Paste it into an SSH session on the server:
SPROOBO_ENROLL_TOKEN='<your-token>' bash -c "$(curl -fsSL 'https://cp.sproobo.com/dl/bootstrap.sh')"This runs the enroll bootstrap script end to end: Docker, the agent, the firewall baseline, the shared proxy, and enrollment.
Wait for the bootstrap to finish
The one-liner takes a couple of minutes to run: it installs Docker CE and the agent. Once the agent connects outbound on port 8443, the server flips from enrolling to ready in the dashboard within seconds.
Create your app
From the dashboard's New app flow, or the CLI:
sproobo apps create my-app --server <serverId> --repo https://github.com/you/app --domain example.com -yThis wires up apex+www ingress and a certificate, then kicks off the first deploy.
Watch the first deploy stream live
The image builds off-box, the new container starts, passes the health gate, and the proxy switches traffic to it, the same blue-green path every later deploy uses.
Point DNS at the server
Add records for both the apex domain and www pointing at the server's IP. Sproobo's proxy config always expects both.
The certificate issues automatically
Once DNS resolves, the built-in ACME issuance picks it up and keeps it renewed. Nothing to configure by hand.
What the bootstrap script actually does
Nine idempotent steps. Every one is check-then-act, so re-running the same one-liner later is safe and self-heals a partial run:
Detect OS & arch
Confirms Debian-family or RHEL-family, amd64/arm64, root/sudo, and free disk space.
Detect port owners
Checks whether something already holds :80/:443, used later to decide whether Sproobo starts its own proxy or steps aside for yours.
Install Docker
Docker CE, containerd, buildx, and the compose plugin, from each distro's official repo.
Configure the Docker daemon
Sets userland-proxy=false, required so the host firewall (the DOCKER-USER chain) can actually enforce rules on published container ports.
Set up the host
Creates the unprivileged sproobo system user (the bind-mount data owner) and the /var/lib/sproobo directory tree.
Install the agent
Downloads the checksum-verified agent binary for this host's architecture, installs the systemd unit, and stages the enroll token.
Firewall baseline
ufw (Debian-family) or firewalld (RHEL-family): allow 22/80/443, then default-deny everything else inbound. SSH is allowed before the default-deny is ever applied. It is never closed.
Network & proxy
Creates the internal sproobo-int Docker network and starts the shared Caddy proxy container, unless a foreign process already owns :80/:443, in which case it steps aside instead of fighting for the port.
Enroll
Enables and starts the agent service. It dials the control plane and completes enrollment with the staged token.
The control channel is outbound WSS on port 8443, initiated by the agent. There's no inbound port for the platform to sit on, and it works fine behind NAT. You never open a firewall hole for Sproobo to reach in.
Next
- See every published one-liner and script flag on Scripts & one-liners.
- Drive the whole flow from a terminal or an AI agent. See CLI & AI connectors.
- Read about the outbound-only agent and data-ownership model on the Security page.