Overview
You don't need Kubernetes to ship reliably. Most products I work on run on one VPS with Docker Compose, a pipeline that tests everything before it deploys, and encrypted backups taken before every release.
At The Regiment I set up SMTP servers and DNS alongside Dockerised NestJS and Next.js apps. For PAISAPAID I built a staging-first pipeline where production only runs images that already passed on staging.
What's included
- Docker images and Compose stacks for APIs, workers, frontends and databases
- CI/CD on GitHub Actions: lint, typecheck, tests, builds and deploys
- Staging-first releases that promote tested images without rebuilding
- Reverse proxy and TLS with Caddy, including certificates for customer domains
- SMTP servers and the DNS records that go with them
- Encrypted, off-site database and file backups
- Runbooks for deploy, rollback, restore and incidents
How I work
- 01
Test once, deploy that
Production runs the exact images that passed on staging, matched by their files, with no rebuild in between.
- 02
Close what doesn't need to be open
The data network has no route out, containers run with no-new-privileges, and internal endpoints sit behind shared tokens.
- 03
Write it down
Routine operations get a runbook, so a deploy or a restore doesn't depend on one person's memory.
Shipped proof
Questions
- Do I need Kubernetes?
- Probably not yet. One well-run server with Docker Compose handles a lot of traffic and is far simpler to operate. Orchestration earns its cost once you need several machines.
- Can you set up CI/CD for an existing project?
- Yes. I start with checks on every change (lint, typecheck, tests, build), then add image builds, a staging environment and a deploy step that only promotes what passed.
- Where can you deploy?
- Any Linux VPS I can reach over SSH, and platforms like Vercel for frontends. This site runs on Vercel.