Setting Environment Variables
Environment variables are used to configure your application. Zeabur provides a way to set environment variables for your service.
You can set environment variables in the Variables tab of your service, and you can Add Variables to your service.
Zeabur will automatically inject these environment variables into your service.
<YOUR_SERVICE_NAME>_HOST：The host of the service.
PORT：The port of the service
And you don't need to set the environment variables manually.
When hovering over a variable, you can choose to start editing or delete the variable.
Click the checkbox in the upper right corner to toggle the list view.
Click the edit icon to edit the value of the variable.
If you want to add multiple variables at once, you can use the batch editing function.
Click the Edit as Raw button to enter the batch editing mode, which will set the service environment variables in
You can reference other variables in Zeabur.
All you need to do is to reference other variables in the template syntax when setting the variable:
# For example, you can set the variable like this:
By doing this, the value of
PASSWORD will be automatically combined and injected into