Monorepo front and back (api using the private ip)
Hello @admin i want to ask first of deploying from a monorepo with a sepecific folder like from app/web and one with apps/api they are both hosted in same repo but in zerops each one in its own service sa i want to scale each indepndently later
and i also to askl after deploying both web and server is it possibleto not expose the server with httpsupport and use private ip to call it from front
6 Replies
First one yes, we use it that way, with Nx Monorepo. 🙂
im using turborepo
Should be pretty similar although I am bigger fan of Nx. 🙂
can you show me how for turborepo?
monorepo plays no role in this at all, just create two services and connect them with the same GitHub repo
zerops.yml (which you'd put in the root) allows you to define multiple "setups", each for one of the apps
Two setups in a
zerosp.yml
for two separate services
or one setup for one service