—Configure delivery
V19 Hosting: run apps on servers you rent.
An environment can run an app on a rented cloud server instead of a cloud service. Deploys go through the same approvals, freezes and change tickets as any other deploy, and the server only ever runs the exact commit that passed them.
Early version
01
Add a server
Instead of deploying to a cloud service, an environment can run an app on a rented cloud server (for example an Oracle Cloud free Arm VM, or any Ubuntu 22.04 or 24.04 VM with Docker). In the cockpit, open Hosting, add a server and run the one install command it shows on that server. The command works once, within an hour, and refuses an agent download whose SHA-256 differs from the one V19 shows. It starts two containers: Caddy, which serves ports 80 and 443 and gets HTTPS certificates from Let's Encrypt by itself, and the V19 agent.
The agent connects out; V19 never logs in. Every 15 seconds the agent asks V19 what each app on the server should run, and reports back. Nothing on the server listens for V19, V19 holds no SSH key or cloud credential for it, and it stores only a hash of the agent's credential. Removing the server in V19, or issuing a new install command, makes the old credential stop working.

02
Create an app
Apps. Choose New app and pick a GitHub repository V19 can read. Say how it is built: Automatic (V19 recognizes the framework, no Dockerfile needed), from the repository's Dockerfile on your server, or from an image CI already pushes. Add the port it listens on, its health path, which V19 secrets it receives and, per environment, the server and any domains. Create and deploy creates the app and starts the first deploy at once. A link of the form /control/hosting/new?repo=owner/name&ref=branch opens the same form prefilled, or the deploy dialog of the existing app when that repository is already hosted. Each app has its own page with an environment pipeline (for example Development → Staging → Production) and tabs for Deployments, Observability, Analytics, Previews, Logs, Domains, Environment, Scaling, Jobs, Server and Settings. A strip under the app's name shows its last 24 hours: requests, server errors, p95 latency, uptime and bandwidth.
Automatic builds. With the build set to Automatic, V19 looks at each commit and writes the Dockerfile itself: Next.js, Node servers (Express, Fastify, NestJS, Hono), static sites (Vite, Create React App, Astro, Angular, SvelteKit, Gatsby or plain HTML, served with compression, a single-page-app fallback to index.html, a year of caching for fingerprinted files and revalidation for everything else), Python (Django, FastAPI, Flask) and Go. npm, pnpm, Yarn and Bun are recognized from the lockfile and the Node version from .nvmrc or engines. In a monorepo, set the root directory (for example apps/web); if that folder has its own Dockerfile, V19 builds with it from that folder. Install, build and start commands can each be overridden. The build log names what was detected (LABEL v19.detected="Next.js 15 · pnpm · Node 22"). When nothing is recognized, the build stops with a message saying what to add, and the current version keeps serving.
03
Deploy through your environments
Deploys go through your environments. Deploy from the app page or from Deployments → Deploy: change windows, freezes, branch policy, checks, approvals, change tickets and promotion all apply. With a Dockerfile, the server downloads that exact commit through V19 (your GitHub token never reaches the server), builds it and reports the image it made; promoting or redeploying a commit that already ran healthy on that server reuses that image without rebuilding. With an image, deploys run the exact image CI built for the commit (the build-once digest), so a commit without one is refused. The server starts the new version beside the running one, waits up to three minutes for the health path to answer, moves the domains to it and only then stops the old one. If the health check fails, the old version keeps serving, the deployment is recorded as failed with the build and app output (secret-looking values removed), and an incident opens on Tickets. Promote on an environment card sends the same commit to the next environment; Roll back on an earlier successful deployment runs its exact image again. In the desktop app, Settings → Environments lists each environment's hosted apps with their server, whether it is online, the domains and the last rollout.
Previews for pull requests. Turn on previews and choose a server. When a pull request opens or gets new commits, that server builds and serves it as its own app, with no secrets and the variable V19_PREVIEW=1. Closing the pull request removes it. Pull requests from forks never build on your server.
Deploy a folder from the command line. vxl host deploy . --app web packs the folder (leaving out .git, node_modules, build caches, .env files, keys and anything in .v19ignore or .gitignore), uploads it, follows the build and prints the deployment's own HTTPS address. It runs on the app's preview server like a preview: the earliest environment's variables, V19_PREVIEW=1 and V19_DEPLOY_SOURCE=cli, never secrets or database addresses, and the preview password applies. The newest 5 keep running and the Previews tab lists them with their build output. The API key needs the deploy:request scope. Production still goes through Git and every gate. Limits: 50 MB compressed, 200 MB unpacked.
04
Gradual rollouts
Gradual rollouts. Under Scaling, turn on gradual rollout for an environment: new releases start on a share of the traffic (for example 10%, then 50%, then all of it), each step lasting the minutes you choose or until someone presses Next step. The new version runs beside the live one with as many copies, and the server's proxy sends it that share of requests. The Deployments tab compares the two versions minute by minute (requests, server errors and p95) with Promote to 100%, Next step and Roll back. With automatic rollback on, V19 moves all traffic back to the live version on its own when the new one's health check fails twice in a row, or once it has 30 or more requests and clearly more server errors (at least 5, more than twice the live rate and a point higher) or a p95 1.5 times slower and 100 ms more; it records why and sends a "rolled back" alert. Rollbacks, the first deploy of an environment and previews always switch all traffic at once. From the command line: vxl host canary --app web shows each environment, and vxl host canary promote --app web --env production acts (deploy:request scope). Every step, promotion and rollback is in the audit log with who did it, or that V19 did.
05
Logs, traffic, analytics and alerts
Logs and metrics. Each deployment shows its build, rollout and app output live, with search, a filter per stream and download. On a running version, Follow live output streams the app's output for two minutes. Metrics show the server's CPU, memory and disk and each app's CPU and memory for the last 48 hours.
Observability. The server reads its HTTPS proxy's access log every minute and reports, per app, the number of requests by status class (2xx to 5xx), p50, p95 and p99 latency, bytes sent and the ten busiest paths. Query strings are dropped and ids in paths become :id; request bodies, headers and visitor addresses never leave the server. The server also requests each app's health path every minute. The Observability tab shows requests, latency, uptime and the busiest paths for the last hour, 24 hours or 7 days, and a timeline of runtime events: a copy that crashed or ran out of memory (Docker restarts it), a health path that failed two minutes in a row and when it answered again, and scaling. Crashes and outages are also written to the audit trail. Traffic is kept for 7 days.
Web analytics. The Analytics tab shows page views, visitors, top pages, referrers, devices, browsers and operating systems for the last 24 hours, 7 or 30 days, per environment, with the change against the period before. No script and no cookie: the server counts page loads from its HTTPS proxy log (browser requests for HTML that succeeded; known bots and tools left out). A visitor is a hash of address and browser with a salt that changes every UTC day and never leaves the server, so a returning visitor counts once a day and no address reaches V19. Countries are not shown. Analytics are kept for 30 days.
Alerts. Under Settings → Alerts, V19 tells you when an environment goes down (two failed health checks in a row), when server errors or p95 latency cross a threshold over five minutes (at least 50 requests), when a copy crashes or runs out of memory, and when a deploy fails, then again when it is fixed. Alerts go by email to owners and admins, to a Slack incoming webhook, and to an HTTPS webhook of yours signed with X-V19-Signature (HMAC-SHA256 of timestamp.body). Slack and webhook addresses are stored encrypted and must be public. Choose all environments, all but development, or production only; previews never alert. A failed-deploy alert links straight to that deployment's build log, and every deployment has a Copy link button for the same.
Log drains. Under Settings → Log drain, send an app's build, deploy and runtime log lines to an HTTPS endpoint you run or to a log service's HTTPS intake. Each request is NDJSON (one JSON object per line with app, environment, deployment, commit, stream and message) with an X-V19-Signature: sha256=HEX header, an HMAC-SHA256 of the body with the signing secret shown once when the drain is saved. Only public addresses are accepted; the cockpit shows whether the last delivery worked, and Send test line checks it.
06
Scaling and jobs
Scaling. On the Scaling tab an owner or admin sets, per environment, how many copies of the app run (1 to 10) and, optionally, how much CPU and memory each copy may use. The proxy spreads requests across the copies and stops sending to one that doesn't answer. A change applies within a minute without downtime: new copies pass their health check before they get traffic, then the extra or old ones stop. Deploys start every copy and check each one before switching. Previews always run one copy.
Jobs. The Jobs tab holds up to ten commands, each with a schedule in cron form (five fields, UTC; the tab says it in words, for example "Daily at 03:00 UTC"). Each run starts a fresh container of the version that is live, with the same variables and secrets, and may take up to 15 minutes. Jobs run in the one environment you choose, so a schedule never fires twice. Run now starts a job at once for anyone who may deploy. Each run keeps its exit code, duration and the last part of its output.
07
Settings, secrets and routing
Settings and secrets. The environment's plain variables (Variables page) are passed to the app with each deploy, and a rollback restores the variables the earlier deploy ran with. Secrets you keep in V19 (Services → Secrets) and pick on the app's Environment tab are decrypted only for the server running that environment and become environment variables, for example db-password becomes DB_PASSWORD. Values you would rather keep off V19 can go in /opt/v19-hosting/env/APP.env on the server. Private images need a read-only registry token in /opt/v19-hosting/registry-auth.json.
App variables. Besides the environment's variables, an app can hold its own plain values on the Environment tab, for all its environments or for one. A value for one environment wins over a value for all, which wins over the environment's variable of the same name. PORT and names starting with V19_ are set by V19. Changes apply from the next deploy; the audit trail records which names changed, never their values.
Git auto-deploy and deploy hooks. Under Settings, an owner or admin can make an environment deploy every push to a branch, or create a secret deploy-hook URL that deploys a branch when something calls it with POST (a CMS publish, a script). The URL is shown once; V19 keeps only a fingerprint, and creating a new one stops the old one. Both kinds of deploy go through every rule of the environment (approvals, freezes, branch policy, checks) and act as the member who turned them on, whose role is checked again each time. When a rule stops one, the reason is in the audit trail.
Monorepos skip unchanged apps. When an environment auto-deploys on push and the app has a root directory, a push whose files are all outside that folder (and outside the top level of the repository, where shared lockfiles live) is skipped and recorded in the audit log. When GitHub's list of changed files may be incomplete (20 or more commits, a force push or a new branch), V19 deploys anyway.
Routing and protection. Under Settings → Routing and protection, an owner or admin adds redirects (an exact path, or a path ending in * for everything under it; a * at the end of the destination keeps the rest of the path; 301, 302, 307 or 308) and response headers per path (for example Strict-Transport-Security or Content-Security-Policy), and can put a password on pull-request previews, or on previews and every environment except production. Visitors sign in with the user v19; V19 keeps only a bcrypt hash and the server receives only that hash. Servers apply changes within a minute, without a redeploy. Health checks go straight to the app, so a password never makes an app look down.
Firewall. In the same panel, list addresses or ranges to block (for example 203.0.113.7 or 10.0.0.0/8; IPv6 works too), or list the only ones allowed in. Refused visitors get 403 before redirects, the password or the app run. Up to 100 entries per list.
GitHub feedback. Each deployment of an app connected to a repository sets a commit status, named V19 Hosting / APP (ENVIRONMENT or preview), that links to the live address once it passes its health check. Each pull request preview also gets one comment with its link, edited in place on every push. This needs the V19 GitHub App to have permission to write commit statuses and pull request comments; without it the deployment works the same and GitHub simply shows nothing.
08
Postgres and Redis
Postgres and Redis. Under Hosting → Databases, an owner or admin creates a Postgres 17 or Redis 7 database on a server in one step and links it to apps, for one environment or all. It runs next to the apps on the server's private network and is never published on a public port. Linked apps receive its address (by default DATABASE_URL or REDIS_URL) from their next deploy; previews and folder deploys don't. The password is generated by V19, stored encrypted and shown only on request, which is recorded in the audit trail. Backups run every day at the hour you pick (UTC) and on Back up now, and the newest 1 to 30 are kept on the server's disk (not off the server: copy them elsewhere if you need that). Restore puts a backup back over the current data. Deleting a database removes its data and its backups for good and needs its name typed.
09
Domains and HTTPS
Domains and HTTPS. Every app gets a working HTTPS address right away (APP-ENVIRONMENT.SERVER-IP.sslip.io). For your own domain, point an A record at the server's public IP. The Domains tab shows whether each domain already points there and, once Caddy has its certificate, who issued it and when it expires.
Pricing and the plan for servers V19 starts for you are in ReleaseOps. For tests on your own server, see V19 Runner.