PM2 Cluster but in Docker, is it possible in Dokploy?
i recently discovered about docker swarm that do something like PM2 clustering does for Next JS, people recommend this thing. but when i try to learn, i realize setting up docker swarm more difficult than setup PM2 cluster, especially for syncronizing the volume (i'm excluding my public folder in my GH repo), since i'm only using it in the same server, i think maybe PM2 is enough (?). so i just want to know what's your opinion guys on how to maximize the thread or CPU i have for my Next JS apps, what should i do?
0 Replies