|
|
|
|
|
by vunderba
813 days ago
|
|
I guess it just depends. My experience was completely different. I've got my NextJS app setup through Github action (trigger on push to a prod branch) that deploys as a dockerized container to my VPS and a preview branch that deploys to a separate nginx restricted firewalled site for purposes of previewing. Never had any issues with upgrades/downtime for over a year now - it's pretty fire and forget. Native vercel serverless functions running in Vercel are also highly restricted (10 seconds in hobby, and no more than 60 seconds in Pro) which I also don't have to worry about. |
|
That seems like a pretty big pain, though, compared to a single click on Vercel and you get that same functionality for free. What's the advantage of doing it yourself? Each of those steps is quite a lot of work (few hours the first time? sure you can automate it for reuse later, but it still sounds much more of a hassle than the nice Vercel GUI). And what happens when part of the stack needs updates? (The VPS, or DOcker, or a Github action or one of its dependencies, or Nginx, or the firewall, or the rules...)
> Native vercel serverless functions running in Vercel are also highly restricted (10 seconds in hobby, and no more than 60 seconds in Pro) which I also don't have to worry about.
That's a looooong time for a serverless func to run. Curious, what do you use them for?