Own your stack. Build it, run it, and understand it.

A tested, versioned reference for running a production Next.js + Strapi stack on your own server — Docker, Nginx Proxy Manager, Cloudflare, PostgreSQL, backups, and the operations routine that keeps it boring.

Format
Written & files
Level
Intermediate
Modules
16
Lessons
121
Purchase
One-time
Iglesias Tech HomeStack
$59USD

One-time purchase. Includes HomeStack v1 and all v1.x updates.

Get HomeStackPreview the guide

Secure checkout through Stripe · no subscription · access is connected to your Iglesias Tech account.

  • 16 modules
  • 121 lessons
  • Reference monorepo archive
  • Docker configurations and scripts
  • Security checklist
  • Deployment checklist
  • Backup and restore scripts
  • AI prompt packs
  • Changelog
  • Version compatibility matrix
  • Protected downloads

Overview

Build and understand a complete self-hosted stack end to end — the same architecture Iglesias Tech runs — with reference code, operations scripts, and an AI-assisted planning path.

Architecture

Visitor
Cloudflare DNS + Tunnel
cloudflared
Nginx Proxy Manager
Hostname → Docker service name

Internal Docker network — not publicly reachable
Next.js
web:3000
Strapi
cms:1337
PostgreSQL
db:5432
Recommended: Cloudflare Tunnel makes an outbound connection from your server, so no inbound port has to be opened and no public IP is required. Direct port forwarding is documented as an alternative, with the trade-offs it introduces.

What you will build

Production Next.js frontend
Strapi CMS
PostgreSQL database
Dockerized services
Reverse-proxy configuration
Cloudflare domain routing
Secure secrets configuration
Persistent storage
Scripted backups
Tested restore procedure
Monitoring foundation
Deployment and update routine

Who it is for

A good fit
  • Developers
  • Technical founders
  • Freelancers and small agencies
  • Home-lab enthusiasts
  • People who want to understand their infrastructure
  • Builders who prefer an opinionated, tested path
Not the right starting point
  • Someone who has never used a terminal
  • Someone expecting zero-maintenance managed hosting
  • Someone requiring enterprise high availability
  • Someone looking for a no-code website builder
  • Someone wanting a one-click hosted SaaS service

Curriculum

Trace a request end to end before installing anything, and decide what your stack must survive.

01.1How a request reaches your serverFree9 min
01.2Choosing where the stack runsFree7 min
01.3Services, ports, and namesLocked8 min
01.4What can fail, and what that costs youLocked10 min

What is included

16 modules
121 lessons
Reference monorepo archive
Docker configurations and scripts
Security checklist
Deployment checklist
Backup and restore scripts
AI prompt packs
Changelog
Version compatibility matrix
Protected downloads

Technology stack

Next.jsTypeScriptStrapiPostgreSQLDockerDocker ComposeNginx Proxy ManagerCloudflareUbuntuClaudeCodex

Security & operations

HomeStack covers the operational surface below. It is a tested, opinionated baseline — not a claim of completeness or zero maintenance. Running your own stack is ongoing work, and the guide is honest about that.

Non-public database networkingEnvironment secretsServer accessHTTPSCloudflare TunnelBackupsRestore testingMonitoringUpdatesLoggingRecovery procedures

FAQ

Build the stack you actually own.

$59 one-time. Includes HomeStack v1 and all v1.x updates.

Want the result, not the work? Start a Project.

$59 one-time
Includes HomeStack v1 and all v1.x updates.
Get HomeStack