Advanced Environment Configuration documentation #39
Open
phurpa-tsering wants to merge 1 commit intomainfrom
Open
Advanced Environment Configuration documentation #39phurpa-tsering wants to merge 1 commit intomainfrom
phurpa-tsering wants to merge 1 commit intomainfrom
Conversation
Collaborator
Author
|
hey @lbenedetto , could you please review this PR? |
lbenedetto
reviewed
Feb 26, 2026
Comment on lines
+85
to
+89
| ```yaml | ||
| baseUrl: https://api.example.com | ||
| timeout: 5000 | ||
| featureFlags: | ||
| newDashboard: true |
Contributor
There was a problem hiding this comment.
This isn't the format of the yaml
Contributor
There was a problem hiding this comment.
public
thor:
variables:
description: "God of Thunder"
children:
production:
variables:
BASE_URL: "thor.com"
test:
children:
staging:
variables:
BASE_URL: "staging.thor.com"
local:
variables:
BASE_URL: "localhost:8080"
odin:
variables:
description: "The Allfather"
children:
production:
variables:
BASE_URL: "odin.com"
test:
children:
staging:
variables:
BASE_URL: "staging.odin.com"
local:
variables:
BASE_URL: "localhost:8080"private
thor:
children:
test:
variables:
PASSWORD: "hunter2"
And then in the env selection window, these envs would be available:
thor
thor.production
thor.test
thor.test.staging
thor.test.local
thor
odin.production
odin.test
odin.test.staging
odin.test.local
Two entirely separate trees of env hierarchies in one profile.
lbenedetto
reviewed
Feb 26, 2026
|
|
||
| ## Profiles | ||
|
|
||
| Profiles let you maintain multiple named environment configurations — for example, `staging`, `production`, or `local-dev` — each with their own public and private files. |
Contributor
There was a problem hiding this comment.
This is not how profiles should be used. staging, production and local should all be in the default profile. You'll have to ask nikdim about what profiles are for because its actually really difficult to envision a use case for them given just how flexible the system is even only using the default profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advanced Environment Configuration documentation