The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Minimum price
$15.99
$19.99
Buying multiple copies for your team? See below for a discount!
About the Book
Stop running your applications directly on "localhost" and step into production-grade systems architecture.
For modern developers, building a local prototype is only the first step. The true challenge lies in deployment. When your application scales to include JavaScript frontends, Node.js backend APIs, Python AI inference engines, and relational databases, managing the dependencies and ensuring they run identically across different environments becomes incredibly difficult. This volume provides the definitive, practical guide to containerizing and orchestrating your full-stack JavaScript and AI applications.
In No More Localhost, you will explore the operational patterns used by DevOps and systems engineers to package, secure, and run applications. By treating infrastructure as code, you will learn to build resilient, portable, and highly optimized environments that eliminate the "it works on my machine" problem once and for all.
What you will discover inside:
Who this book is for:
This book is written for intermediate to advanced JavaScript/TypeScript developers, full-stack engineers, and technical founders who want to build a bridge between application code and robust systems operations. It assumes basic familiarity with Node.js and the command line, building your DevOps foundations step-by-step.
Master the tools of container orchestration and build scalable, secure, and reproducible systems today.
If the book were printed, it would be more than 350 pages long.
Table of contents
Chapter 1: Why Docker Matters for JS Devs (The 'It works on my machine' fix)
Chapter 2: Essential Linux Shell Commands for DevOps
Chapter 3: The Dockerfile - Anatomy of an Image
Chapter 4: Docker Compose - Orchestrating Multi-Container Apps
Chapter 5: Networking Basics - Ports, DNS, and Bridges
Chapter 6: Containerizing Next.js (Standalone Mode)
Chapter 7: Containerizing Python AI Services (Ollama/FastAPI)
Chapter 8: Multi-stage Builds - Shrinking Images by 90%
Chapter 9: Development Environments (Dev Containers in VS Code)
Chapter 10: Docker Volumes & Persistence
Chapter 11: Nginx as a Reverse Proxy
Chapter 12: Docker Hub, GHCR & Private Registries
Chapter 13: Security Scanning Images for Vulnerabilities (Trivy)
Chapter 14: Managing Environment Variables & Secrets safely
Chapter 15: Debugging Running Containers
Chapter 16: Running Databases in Docker (Postgres/Redis)
Chapter 17: GPU Passthrough for Local AI Models in Docker
Chapter 18: Microservices Architecture Basics
Chapter 19: Introduction to Docker Swarm (The simple orchestrator)
Chapter 20: Capstone - Building a Local Production-Like Environment
Team Discounts
Get a team discount on this book!
Up to 3 members
Up to 5 members
Up to 10 members
Up to 15 members
Up to 25 members
About the Author
A veteran software engineer with 20 years of experience, I have dedicated my career to the art of automation. My philosophy is simple: programming should eliminate repetitive chores to unlock human creativity. This journey began early on with the development of custom code-generation tools and has evolved into a deep mastery of LLMs and their APIs. Today, I specialize in architecting AI-driven solutions that handle everything from complex coding and security tasks to advanced knowledge retrieval, transforming the way we interact with technology
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.