Configuration¶
xedocs can be configured using environment variables.
Global settings¶
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Path to a .env file to load. |
|
Requires python-dotenv package |
|
List of database names, comma separated. |
|
For advanced user only. |
Database Interface settings¶
These settings are specific to database interface implementations.
Utilix Interface¶
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Priorty when selecting a default (-1 to ignore) |
|
Smaller numbers are selected first. |
|
Database name mapping |
|
For advanced users only. |
API iInterface¶
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Priorty when selecting a default (-1 to ignore) |
|
Smaller numbers are selected first. |
|
URL format |
“{base_url}/{version}/{database}/{name}” |
|
|
Base URL of API server |
||
|
API version to use |
“v1” |
|
|
Audience for JWT token request. |
||
|
Whether to request readonly token. |
False |
|
|
API token to use for authentication. |
None |
|
|
Username to use for authentication. |
None |
|
|
Password to use for authentication. |
None |
Github Interface¶
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Priorty when selecting a default (-1 to ignore) |
|
Smaller numbers are selected first. |
|
Github repository to use |
“XENONnT/xedocs” |
|
|
Github token to use for authentication. |
None |
|
|
Username to use for authentication. |
None |
|
|
Password to use for authentication. |
None |
Local Repo Interface¶
Interface to a local repo on the filesystem.
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Priorty when selecting a default (-1 to ignore) |
|
Smaller numbers are selected first. |
|
Path to local repository |
None |
Mongo Interface¶
Interface to a generic mongodb server.
Name |
Description |
Default value |
Notes |
---|---|---|---|
|
Priorty when selecting a default (-1 to ignore) |
|
Smaller numbers are selected first. |
|
URL to mongodb server |
None |
SHould include username/password if needed. |