docker deployment target is a plain Dockerfile +
bundled server, so it runs on any Docker host — including a Hostinger VPS.
The hostinger-deploy
example ships a complete, tested recipe: deploy.mjs verifies the VM through
the Hostinger API, builds locally, ships the context over SSH, and runs the
container — then proves the deploy with /health and one real /chat turn.
- Verify the VM.
GET /api/vps/v1/virtual-machinesfinds the VM by id, hostname or IPv4 and refuses non-runningmachines. Thehostinger-api-mcpMCP server wraps this same API, so an agent (or this session) can also drive it interactively — VM lifecycle, SSH keys, firewall rules, post-install scripts. - Build.
lousho build ./agent --target=docker --out <dir>produces a self-contained context (bundleddist/server.js,Dockerfile). - Ship + run.
tar/scpthe context to/opt/lousho-agent, then over SSH:docker build,docker rm -f lousho-agentif it exists, anddocker run -d --restart unless-stopped -p 3000:3000 -e .... - Prove it. Poll
/health, then POST one/chatturn with the bearer token.
-e LOUSHO_STORE=sqlite:/data/lousho.db -v lousho-data:/data— sessions and paused approvals survive container restarts (/datais a named volume).-e LOUSHO_API_TOKEN=...— required: every route except/healthis then bearer-authed. Port 3000 is plain HTTP; put Traefik (the VPS template installs it) or another TLS terminator in front.