Replies: 3 comments 2 replies
-
I see the docs about "Go to Production" saying its okay. But if there is way to minimize it will be good. Also I wonder what is the best way to build it with github actions for example without docker registry? |
Beta Was this translation helpful? Give feedback.
-
The production guide, requires images hosted in a registry, I have seen some ways to limit the resources of a build such as https://docs.docker.com/build/builders/manage/, maybe it would be a good idea to investigate as I have seen that it is possible to limit the consumption of a build using a custom builder. |
Beta Was this translation helpful? Give feedback.
-
I think the best you can do is to add build server. I tried this on coolify. I tried with self-hosted docker registry but could not setup and my repos in dockerhub was public(free tier). I think the ultimate setup of dokploy for production apps and freelancing.
And in that case u need 2 of the cheapest servers in hetzner with 2 cores and thats all. I'm talking from prespective of nextjs 15 + mongodb + few more services. I had a lot of issues running my github action, building my docker image inside and etc... I would help with the implementation even if I know how... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Next.js 15 App Router project, and it includes Payload CMS (though that might not be relevant here).
When I build the app using Nixpacks, the build process uses 4 CPU cores (400% CPU).
Is there a way to reduce the number of cores used during the build?
I asked on Twitter and found that there’s a feature request that might help in the future.
I also bought Dokploy Cloud, and as I understand it, the Dokploy Admin is hosted on your infrastructure. So even though the build still hits 400% CPU usage, but its for a shorter period of time.
In comparison, when I run the same Next.js app with Nginx and PM2, the CPU usage stays under 150-200%.
Beta Was this translation helpful? Give feedback.
All reactions