DokployD
Dokploy12mo ago
76 replies
monte

Connecting backend to frontend

Hi,
I have a backend service, which uses docker-compose to deploy. I was able to successfully deploy it to dokploy. This service has a fastapi webserver, which i would like to expose as api.myproject.com. I would like to keep this webserver internal only and not expose to public, such that only frontend is allowed to talk to it.
The frontend is deployed as an application on the same vps.

What changes do i need to make to make this work? If there is any guidebook/examples, that would be really helpful.

Both the backend and frontend are separate git repos.

Thanks for time and efforts.
Was this page helpful?