api.example.com

PORT (3000), HOST (127.0.0.1) and PATH are set by the panel. How the files load

.env

Shared by build and runtime · /home/api-example-com/htdocs/api.example.com/.env

Comments and formatting are preserved. Duplicate keys are rejected. Files are saved with private permissions.

.env.build

Build only · /home/api-example-com/htdocs/api.example.com/.env.build

Comments and formatting are preserved. Duplicate keys are rejected. Files are saved with private permissions.

Run a new deployment to apply build changes.

.env.runtime

Runtime only · /home/api-example-com/htdocs/api.example.com/.env.runtime

Comments and formatting are preserved. Duplicate keys are rejected. Files are saved with private permissions.

Service overrides

Advanced runtime variables. These override the project files and are not passed to builds. Existing panel variables are preserved here.

Uppercase KEY=value names. Stored encrypted; never put passwords in start commands.