Preview environments with multiple services

Hi,
My app is composed of two services (a frontend and a backend).
I would like to use preview environment but I don’t know how to give the url of my backend to my frontend.
How can I do that?
Thanks !

1 Like

Hey there Leonard,

So you’d use environment variables to do this - but if you’re using out Blueprints feature, then you’d be able to describe this relationship in your render.yaml and then have us take care of that when the services are deployed, see https://render.com/docs/blueprint-spec#environment-variables for more details,

Regards,

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.