Deploy and roll back a stateless app on an Infomaniak VPS
Updated 19 November 2026 · service 0.3.8. Independent and unofficial; not affiliated with Infomaniak.A runner you install on your own VPS builds and serves your app. Your AI prepares each deployment or rollback as a preview, and the runner acts only after you confirm it. SSH keys and app environment files stay on the VPS.
Requirements
- A VPS with Node.js 22.13 or later and Docker.
- A stateless HTTP app with a Dockerfile, in a Git repository reachable over HTTPS without credentials.
- A hostname for the app that points to the VPS. To add the record, see change a DNS record.
- For the built-in Nginx adapter: Nginx, certbot, an existing ACME account and permission to install the runner’s route and reload Nginx. With another reverse proxy, use
--proxy external. - A connection with Allow deployment on runners I pair and approve in this browser checked on the consent page.
1. Install the runner on the VPS
The runner download page shows the install command for the current version and its SHA-256 checksum. Compare the checksum with the release manifest before installing.
2. Create and pair a runner
Use a new private directory outside your repository:
infomaniak-ai runner init --directory /home/USER/.config/infomaniak-runner --name my-app --repository https://github.com/OWNER/REPO.git --hostname app.example.com --proxy nginx
infomaniak-ai runner pair --directory /home/USER/.config/infomaniak-runner
infomaniak-ai runner run --directory /home/USER/.config/infomaniak-runner
Optional flags: --dockerfile and --build-context for a monorepo, --container-port (default 3000), --health-path (default /) and --env-file for a private environment file on the VPS. With --proxy external --port PORT, your proxy handles public TLS and the runner reports loopback health only.
runner pair prints a pairing link. Open it in the browser where you connected your AI and check the app name, repository and hostname before approving. Keep runner run running, for example as a service you manage.
3. Deploy a pinned commit
Inspect my paired app my-app with deployment.app.get, then prepare deployment.release for commit 0123456789abcdef0123456789abcdef01234567. Show me the preview and wait for my confirmation.Replace the commit with a full 40-character SHA from your repository. The preview states that the repository’s build code runs on your VPS. After you confirm, the runner builds the image, health-checks the new container before routing traffic, switches the route and checks public health. The AI follows progress with infomaniak_operation. deployment.runner.health returns CPU, load, memory, uptime and app health. deployment.logs requests the last 100 log lines; read them with deployment.job.get.
4. Roll back
Ask: “Prepare deployment.rollback for my-app and wait for my confirmation.” The runner restores the retained previous image after you confirm this separate plan. Rollback is only available after at least one earlier successful release. It does not restore databases, migrations or other external data.
If the runner stops mid-deployment
Stop the old runner process and inspect its output. Remove only its stale runner.lock, then run infomaniak-ai runner reconcile --directory DIR --job UUID. It reads owned containers and health endpoints without rebuilding, restarting or switching a route. An ambiguous result stays unknown and locked.
Limits
- Stateless HTTP Dockerfile apps from public HTTPS repositories; no private Git credentials.
- No shell access, database migrations, persistent volume recovery or VPS reinstallation.
- Logs are sent only when you ask for them and are scrubbed using the values in the app’s environment file. Secrets the app prints from elsewhere may remain.