Set, edit, and delete environment variables for a project. Variables are injected into both the builder and the running container.Documentation Index
Fetch the complete documentation index at: https://paper.brimble.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A project deployed on Brimble. If you haven’t deployed yet, follow the quickstart.
Add a variable
- Open the project.
- Go to Environment in the project sidebar.
- Pick the environment (Production, Preview, or any custom one) from the dropdown.
- Click Add variable.
- Enter the name and value. Click Save.

Add many variables at once
For pasting in a.env file:
- Open Environment.
- Click Bulk import.
- Paste the contents of your
.envfile. Lines starting with#are treated as comments. - Click Import.

KEY=value becomes a variable. Quoted values are unquoted. Values containing =, #, or whitespace should be wrapped in single or double quotes:
Apply changes
Editing variables doesn’t redeploy your project automatically. Changes apply on the next deployment:- Push a new commit to pick them up automatically.
- Or click Redeploy on the latest deployment to apply them now.
Edit a variable
In Environment, click the variable name. Update the value and save.Delete a variable
In Environment, click the trash icon next to the variable. Confirm.Inherit variables from another environment
A child environment can inherit variables from a parent. Useful when Preview should share most of Production’s config but override a few values.- Open Environments (the tab next to Environment).
- Edit the environment you want to inherit into (e.g.
Preview). - Set Inherit from to the parent (e.g.
Production). - Save.
Reference shared or cross-project variables
A variable’s value can include references to other variables,{{shared.NAME}} for a shared environment value, or {{@project-slug.NAME}} for a value from another project in the same workspace. Brimble resolves these at deploy time so the running container sees the final string.
Build-time vs runtime
Variables are injected into the builder and into the running container. Anything you set is available duringinstall, build, and start commands, and your code at runtime reads them like any other process environment variable.
For private package registries, set the auth token as a variable and reference it in .npmrc or pip.conf:
Troubleshooting
Variable shows in dashboard but not inprocess.env. You haven’t redeployed since adding it. Click Redeploy on the latest deployment.
Variable is set in Production but not in Preview. Variables are scoped per environment. Either set it in Preview directly, or enable inheritance from Production and mark the variable inheritable.
Special characters in value get mangled. When pasting via bulk import, wrap values containing =, #, or whitespace in quotes: KEY="value with spaces".
Build fails reading a variable that’s set. If you’re using inheritance, the variable might be missing the inheritable flag in the parent environment. Check the parent.
Next steps
- Environments concept, how environments and inheritance work.
- Reference shared and cross-project variables, the
{{shared.X}}and{{@slug.X}}syntax.