-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add job to generate documentation for Infrahub configuration
- Loading branch information
Showing
4 changed files
with
910 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: Infrahub Configuration | ||
--- | ||
|
||
# Infrahub configuration | ||
|
||
The Infrahub containers have a number of environmental variables available at runtime to affect their behavior. | ||
|
||
## Usage | ||
|
||
Here are a few common methods of setting environmental variables: | ||
|
||
- Exporting in a shell, e.g.: `export INFRAHUB_ADDRESS="http://localhost:8000"` | ||
- Using a [`.env` file](https://docs.docker.com/compose/environment-variables/set-environment-variables/#substitute-with-an-env-file) | ||
- Using [direnv](https://direnv.net/) | ||
|
||
:::note | ||
|
||
`infrahubctl` has it's own environmental variables. See the [infrahubctl documentation](../infrahubctl#environment-variables) for more information. | ||
|
||
::: | ||
|
||
|
||
{% for section in sections %} | ||
## Section: {{ section.name }} | ||
Description: {{ section.description }} | ||
|
||
|
||
|
||
{% for parameter in section.parameters %} | ||
|
||
### {{ parameter.name }} | ||
Description: {{ parameter.description }} | ||
|
||
**Default setting:** {{ parameter.default }} | ||
|
||
**Type:** {{ parameter.type }} | ||
|
||
**Environment variable:** {{ parameter.env }} | ||
|
||
{% endfor %} | ||
|
||
{% endfor %} |
Oops, something went wrong.