Render makes the following environment variables available to all services at runtime, as well as during builds and deploys.
|Set to |
|The Render host for a web service or static site. Of the form |
|The Render URL for a web service or static site; of the form |
|The Git branch for a service or deploy.|
|The commit SHA for a service or deploy.|
|A unique identifier for an instance. Useful for multi-instance services.|
|The unique slug for your service.|
|One of |
|Always set to |
Other environment variables beginning with
RENDER_may be included in your build and runtime environments. However, variables not listed above are strictly for internal use and can change without warning.