neurobagel-recipes/docs/neurobagel_environment_variables.tsv
Alyssa Dai 5de041bf05
[ENH] Add NB_MIN_CELL_SIZE env var & reorder env var table for better flow (#98)
* add NB_MIN_CELL_SIZE env var & reorder env var table for flow
- fix typo in var name in template.env

Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>

---------

Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>
2024-12-16 16:57:33 -05:00

3 KiB

1Environment variableDefault needs change?DescriptionDefault value if not setUsed in these installation modes
2`NB_GRAPH_USERNAME`YesUsername to set for the graph database user.-Docker, Python
3`NB_GRAPH_SECRETS_PATH`YesPath to files containing the secure passwords to set for the admin user (NB_GRAPH_ADMIN_PASSWORD.txt) and graph database user (NB_GRAPH_PASSWORD.txt).`./secrets`Docker
4`NB_GRAPH_DB`YesName to give your graph database (e.g., for a GraphDB database, use the format `repositories/{database_name}`)`repositories/my_db`Docker, Python
5`LOCAL_GRAPH_DATA`YesPath on your filesystem to the JSONLD files you want to upload to the graph database`./data`Docker
6`NB_GRAPH_PORT_HOST`NoPort number on the _host machine_ to map the graph server container port to`7200`Docker
7`NB_API_ALLOWED_ORIGINS`NoOrigins allowed to make cross-origin resource sharing requests. Multiple origins must be separated with spaces in a single string enclosed in quotes.`""`Docker, Python
8`NB_RETURN_AGG`NoWhether to return only aggregate, dataset-level query results (excluding subject/session-level attributes). One of [true, false]`true`Docker, Python
9`NB_MIN_CELL_SIZE`NoMinimum number of matching subjects required for a dataset to be returned as a query match. Datasets with matching subjects <= this number will be excluded from query results.`0`Docker, Python
10`NB_NAPI_TAG`NoDocker image tag for the Neurobagel node API`latest`Docker
11`NB_NAPI_PORT_HOST`NoPort number on the _host machine_ to map the Neurobagel node API container port to`8000`Docker
12`NB_FAPI_TAG`NoDocker image tag for the Neurobagel federation API`latest`Docker
13`NB_FAPI_PORT_HOST`NoPort number on the _host machine_ to map the Neurobagel federation API container port to`8080`Docker
14`NB_QUERY_TAG`NoDocker image tag for the query tool`latest`Docker
15`NB_QUERY_PORT_HOST`NoPort number used by the `query_tool` on the host machine`3000`Docker
16`NB_API_QUERY_URL`YesURL (and port number, if needed) of the Neurobagel API that the query tool will send its requests to. The query tool sends requests from a user's machine, so ensure the API URL is provided *as a user would access it from their own machine*. See also the [query tool README](https://github.com/neurobagel/query-tool?tab=readme-ov-file#set-the-environment-variables).-Docker
17`NB_QUERY_APP_BASE_PATH`NoThe URL path for the query tool, determines the specific URL at which the app should be rendered for users to access it`/`Docker
18`NB_ENABLE_AUTH`No**(Experimental, for dev deployments only)** Whether to enable authentication for cohort queries. One of [true, false]`false`Docker, Python
19`NB_QUERY_CLIENT_ID`No**(Experimental, for dev deployments only)** OAuth client ID for the query tool. Required if NB_ENABLE_AUTH is set to true.-Docker, Python