Docker & Containers
24 articles · written by Niraj Kumar
These posts treat Docker as a deployment tool rather than a topic. They start from a working application and end with it running behind a reverse proxy on a server you can restart without dropping requests.
Coverage includes building lean Node.js images, Nginx as a reverse proxy in front of containers, zero-downtime deployment strategies with health checks and connection draining, GitHub Actions pipelines that build and push images, orchestration trade-offs between Docker Swarm and lightweight Kubernetes, and self-hosted AI stacks that run n8n and Ollama together in containers.
- Event-Driven ArchitectureLangGraphNode.js
Architecting Event-Driven AI Agent Workflows: Integrating LangGraph, Node.js, and AWS for Real-Time Automation
Stop polling APIs. Learn how to build real-time, event-driven multi-agent AI workflows with LangGraph, Ollama local LLMs, Node.js, Express, n8n, Make.com, Socket.io, Next.js, Docker, and AWS — a practical 2026 blueprint for sovereign AI automation.
- AI AgentsLangGraphDocker
Architecting Sandboxed Code-Execution Agents: Ephemeral Docker Runtimes, LangGraph, and Real-Time Telemetry in Next.js
Build a zero-trust, sandboxed AI coding agent with LangGraph, Ollama, and Claude Code that runs Python, C++, and JavaScript in ephemeral, network-restricted Docker containers on AWS Linux, with JWT execution policies, PostgreSQL audit trails, and live Socket.io telemetry in a Next.js workspace.
- LLM GatewayAI FinOpsNode.js
Architecting a Self-Hosted Hybrid LLM Gateway: Dynamic Cost Routing, Semantic Caching, and Usage Billing with Node.js, Ollama, and Next.js
A hands-on 2026 guide to building a self-hosted hybrid LLM gateway with Node.js, Express, Nginx, and Ollama. Route LangGraph traffic by query complexity and latency, cache semantically in PostgreSQL with pgvector, log token telemetry in MongoDB, stream live costs to a Next.js dashboard, and bill usage through Stripe, Razorpay, and Cashfree.
- MCPModel Context ProtocolLangGraph
Engineering Custom MCP Servers for Local AI Agents: Bridging PostgreSQL, MongoDB, and REST APIs with LangGraph and Next.js
A hands-on 2026 guide to building secure TypeScript MCP servers that connect local Ollama models and Claude Code to PostgreSQL, MongoDB, and REST APIs, orchestrated with LangGraph, streamed to a Next.js dashboard, and deployed with Docker and Nginx on AWS.
- LangGraphHuman-in-the-LoopAI Agents
Engineering Durable Human-in-the-Loop (HITL) AI Workflows: State Checkpointing with LangGraph, PostgreSQL, and Next.js
Build enterprise-grade human-in-the-loop AI agents that pause for approval before Stripe or Razorpay payouts. Learn LangGraph interrupts, PostgreSQL checkpointing, Socket.io real-time dashboards in Next.js, an Express resume API, JWT/OAuth RBAC, n8n alerts, and Docker deployment on AWS.
- Voice AIOllamaWebSockets
Architecting Sub-50ms Voice AI Agents: Integrating C++ Inference Engines, Ollama, and WebSockets in Next.js
Build a real-time, full-duplex voice AI agent from scratch. Learn how to wire whisper.cpp, Ollama, Piper, Socket.io, LangGraph, Next.js, Redux and JWT auth into a containerized stack behind Nginx on AWS Linux.
- Claude CodeLangChainDevOps
AI-Assisted Platform Engineering: Automating CI/CD Pipelines and DevOps with Claude Code, LangChain, and Shell Scripting
Learn how to build self-healing CI/CD pipelines using Claude Code, LangChain agents, Docker, Nginx, and Shell scripting. A practical 2026 guide to AI-assisted platform engineering on AWS.
- Graph RAGLangChainPostgreSQL
Architecting an Enterprise Graph RAG Pipeline: Semantic Knowledge Discovery with LangChain, PostgreSQL, and Next.js
Build a sovereign, entity-aware Graph RAG pipeline with LangChain, Ollama, PostgreSQL and pgvector, an Express.js API and a Next.js + Shadcn UI frontend, then ship it with Docker, Nginx and GitHub Actions on AWS.
- LangChainAI AgentsNext.js
Automating Enterprise B2B SaaS: Integrating LangChain AI Agents, Next.js, and Zapier Workflows on AWS
A practical 2026 blueprint for building an AI-driven B2B SaaS: LangChain agents, a Next.js + Tailwind + Shadcn UI frontend, secure Express APIs with OAuth and JWT, Zapier automations, and zero-downtime Docker, Nginx and AWS deployments.
- UnityNode.jsSocket.io
Building a Server-Authoritative Multiplayer Game Backend: Real-Time State Sync with Unity, Node.js, and Socket.io
Learn how to build a server-authoritative multiplayer game backend with Node.js, Express, Socket.io, MongoDB and a Unity C# client, then ship it with Docker, GitHub Actions and zero-downtime deploys on AWS Linux.
- Payment Gateway IntegrationNode.jsExpress.js
Architecting Multi-Gateway Payment Systems: Orchestrating Webhooks with Node.js, n8n, and PostgreSQL on AWS
A practical 2026 blueprint for building a resilient multi-gateway payment backend. Integrate Stripe, Razorpay, and Cashfree with Express.js and PostgreSQL idempotency, automate reconciliation with self-hosted n8n and Make.com, push real-time updates with Socket.io, and ship it all with Docker, CI/CD, and AWS.
- Small Language ModelsLoRAPEFT
Fine-Tuning Domain-Specific Small Language Models (SLMs): A Full-Stack LoRA Pipeline with Python, Ollama, and Next.js
A hands-on 2026 guide to fine-tuning domain-specific Small Language Models with LoRA in Python, exporting to GGUF, serving with Ollama in Docker, testing APIs with Postman, and monitoring everything in a Next.js dashboard.
- Agentic RAGLangGraphOllama
Building a Privacy-First Agentic RAG System: Integrating Ollama, LangGraph, and PostgreSQL in a Next.js App
Learn how to build a local, privacy-first agentic RAG system using Ollama, LangGraph, PostgreSQL with pgvector, and a Next.js frontend with Shadcn UI. Step-by-step code, Docker setup, best practices, and common mistakes.
- DockerNode.jsAI Agents
How to Build a Secure Docker-Isolated Code Execution Sandbox for AI Agents in Node.js
Learn how to safely run untrusted LLM-generated code using Node.js and the Docker Engine API. A practical guide to ephemeral containers, cgroup limits, network isolation, and seccomp profiles for AI agent sandboxes.
- Node.jsDockerNginx
How to Automate Zero-Downtime Deployments for Node.js using Docker, Nginx, and GitHub Actions on AWS EC2
Automate blue-green deployment for Node.js on AWS EC2 with Docker, Nginx and GitHub Actions — no dropped requests, no killed WebSocket connections.
- n8nOllamaDocker
How to Self-Host a Zero-Cost, Privacy-First AI Automation Pipeline using n8n, Ollama, and Docker
Build a fully self-hosted, zero-cost AI automation pipeline with n8n, Ollama, Docker and PostgreSQL — process webhooks with local LLMs, stay offline.
- Node.jsDockerGitHub Actions
Automating Node.js Docker Deployments with GitHub Actions and Nginx
Build a custom GitHub Action that builds, pushes and deploys a Dockerized Node.js app behind an Nginx reverse proxy — a full automated pipeline.
- DockerKubernetesDevOps
Container Orchestration for Beginners: Docker Swarm vs Kubernetes Lite
Compare Docker Swarm with Kubernetes Lite (k3s, MicroK8s) and pick the right orchestrator — setup effort, scaling behaviour, and ongoing ops cost.
- DockerNginxDevOps
Zero‑Downtime Deployments with Docker, Nginx, and Reverse Proxy
Implement zero-downtime deployments with Docker and Nginx — blue-green and rolling strategies, health checks, and safe traffic shifting.
- n8nAWSEC2
Hosting n8n on AWS EC2 with Nginx: A Complete Production Guide
Self-host n8n on AWS EC2 step by step — Docker Compose with Postgres, an Nginx reverse proxy, Let's Encrypt HTTPS, plus backups and upgrades.
- DockerNode.jsDevOps
Docker for Developers: From Zero to Deploying a Node.js App
Learn Docker with a real Node.js app — Dockerfiles, multi-stage builds, Docker Compose, and pushing images to a container registry.
- MLOpsMachine LearningPython
Practical MLOps: Taking a Model from Jupyter Notebook to Production API
Take an ML model from a messy Jupyter notebook to a versioned, monitored production REST API — model versioning, CI/CD, containers, observability.
- DevOpsGitHub ActionsDocker
DevOps in the Real World: Shipping Faster with GitHub Actions, Docker, and Kubernetes
Build a production DevOps pipeline with GitHub Actions, Docker and Kubernetes — real-world examples, best practices, and the pitfalls to avoid.
- Cloud-NativeMicroservicesAWS
Cloud-Native SaaS in 30 Days: Designing and Deploying a Microservices App on AWS/Azure
Build and deploy a production cloud-native SaaS with microservices on AWS and Azure in 30 days — architecture, containers, CI/CD, and the deploy.
Related topics
- Retrieval-Augmented Generation (RAG)
- LangChain & LangGraph
- Large Language Models
- AI Agents
- Next.js
- React
- TypeScript
- Node.js
- PostgreSQL
- DevOps
- CI/CD
- Application Security
- AWS
- n8n Automation