DokployD
Dokploy14mo ago
7 replies
Uberzeek

Turborepo to Dokploy

Hi everyone,

I’m working on a monorepo (Turborepo) that includes the following packages:

WebSocket server (Express.js)
Next.js app
Prisma ORM (shared between the WebSocket server and the Next.js app)
I’m using Yarn as the package manager, and everything is currently set up in a docker-compose file with four images:

-Next.js
-WebSocket server (WSS)
-Nginx
-Postgres

I have a couple of questions:

do I need still need Nginx in my docker compose, or I can use Traefik that Dokploy uses
do I still need the postgres image or I can just deploy a new postgres db right from Dokploy

Also,
I’ve read that it’s better to push the docker image to Docker Swarm, then fetch them in Dokploy to speed up deployments. Could someone explain how that works or share relevant resources?

Thanks!
Was this page helpful?