Deploy Next.js to Fly.io with Docker

Опубликовано: 16 Октябрь 2024
на канале: Jamie Barton
1,067
33

Fly.io makes it super easy to deploy Next.js with their Dockerfile and app detection. Let's learn how we can do that and more in this short video.

Resources:
Fly.io: https://fly.io
Next.js: https://nextjs.org
Turso: https://turso.tech

If you liked this video, give it a like, and subscribe if you want to see me. I'm also on Twitter, GitHub, and LinkedIn:

  / notrab  
https://github.com/notrab
  / notrab  

Skip to the good bits:
00:00 Create Next.js app
00:36 Install Fly CLI
00:50 Deploy to Fly
02:00 Install a database client
04:30 Import Fly secrets
05:15 Deploy to Fly with build secrets
05:50 Scale Fly to multiple regions