05 / 08 · Service · Mayank Rawat

DevOps for small teams: Docker, CI/CD, VPS deploys, DNS and email

Containerised deploys, CI/CD pipelines, SMTP and DNS: the plumbing that keeps products shipping. Available for freelance projects and full-time roles.

  • Docker
  • CI/CD
  • SMTP & DNS
  • VPS
01

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.

02

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
03

How I work

  1. 01

    Test once, deploy that

    Production runs the exact images that passed on staging, matched by their files, with no rebuild in between.

  2. 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.

  3. 03

    Write it down

    Routine operations get a runbook, so a deploy or a restore doesn't depend on one person's memory.

04

Shipped proof

05

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.

Other services

Need a hand with DevOps & Infrastructure?

Tell me what you're building and where you're stuck. I'll reply within a day.

Let's talk