How to deploy a turborepo?
Unanswered
Blue swimming crab posted this in #help-forum
Blue swimming crabOP
codebase is a turborepo
its apps folder has three files
frontend (nextjs typescript frontend) ,
http(nodejs typescript backend) ,
ws (nodejs ws library typescript websocket server)
and the packages folder has a db folder that export a prisma client of a postgres db
the exported prisma client is used by both the http and the ws folder
using npm as package manager i want to dockerise it and deploy it to aws how can i do it
its apps folder has three files
frontend (nextjs typescript frontend) ,
http(nodejs typescript backend) ,
ws (nodejs ws library typescript websocket server)
and the packages folder has a db folder that export a prisma client of a postgres db
the exported prisma client is used by both the http and the ws folder
using npm as package manager i want to dockerise it and deploy it to aws how can i do it
21 Replies
@Yi Lon Ma https://turborepo.com/docs/guides/tools/docker
Blue swimming crabOP
so i just create a image than give it to render to deploy it
@Yi Lon Ma yea
Blue swimming crabOP
okay will try and let you know if find any troules
@Yi Lon Ma sure
Blue swimming crabOP
this single image will consist of my frontend build,backend build,database and websocket server
you deploy each "app" separately
in different docker images
turborepo will bundle your dependency packages together
Blue swimming crabOP
okay okay
so have you used render?
a bit
Blue swimming crabOP
i want to use its webservice option
isn't it for static sites?
Blue swimming crabOP
i dont think so
its basically to deploy both fe and be together
interesting
never used that option
Blue swimming crabOP
oh okay
@Yi Lon Ma isn't it for static sites?
American Sable
render lets host you backend. i did it before