Dockerize Next.js 16 and Deploy to VPS - Custom Domain, SSL, CDN Cloudflare, Docker Compose

Dockerize Next.js 16 and Deploy to VPS - Custom Domain, SSL, CDN Cloudflare, Docker Compose

ByteGrad via YouTube Direct link

17:41 Docker Compose docker-compose.yml

15 of 22

15 of 22

17:41 Docker Compose docker-compose.yml

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Dockerize Next.js 16 and Deploy to VPS - Custom Domain, SSL, CDN Cloudflare, Docker Compose

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 Intro
  2. 2 01:15 Next.js app example
  3. 3 02:04 2 options for deploying Docker app
  4. 4 02:54 Option 1 - Build Docker image locally
  5. 5 03:19 Dockerfile and .dockerignore
  6. 6 04:46 Docker Desktop
  7. 7 05:25 docker build terminal command
  8. 8 07:23 Run container
  9. 9 08:12 Push to registry ghcr.io
  10. 10 10:09 VPS Hostinger
  11. 11 12:34 ssh & pull image
  12. 12 14:51 Run container on VPS
  13. 13 15:55 App demo on VPS
  14. 14 16:40 Option 2 - Reset for Docker Manager
  15. 15 17:41 Docker Compose docker-compose.yml
  16. 16 19:55 Push to GitHub
  17. 17 20:19 Deploy with docker-compose.yml & Docker Manager
  18. 18 22:04 Private repo
  19. 19 22:09 Custom domain
  20. 20 24:25 HTTPS / SSL
  21. 21 24:59 Traefik reverse proxy
  22. 22 26:04 CDN with Cloudflare

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.