You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/documentation/env_vars.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,7 @@ The PostgreSQL database is configured using the following environment variables:
155
155
|`POSTGRES_USER`| str | root | Username for database authentication |
156
156
|`POSTGRES_PASSWORD`| str | root_password | Password for database authentication |
157
157
158
+
158
159
## Chat Pipeline
159
160
### LLM & VLM Configuration
160
161
The system uses two types of language models:
@@ -417,11 +418,11 @@ The following environment variables configure the FastAPI server and control acc
417
418
|`APP_PORT`|`number`|`8000`| Port number on which the FastAPI application listens for incoming requests. |
418
419
|`AUTH_TOKEN`|`string`|`EMPTY`| An authentication token is required to access protected API endpoints. By default, this token corresponds to the API key of the created admin (see [Admin Bootstrapping](/openrag/documentation/user_auth/#2-admin-bootstrapping)). If left empty, authentication is disabled. |
419
420
|`SUPER_ADMIN_MODE`|`boolean`|`false`| Enables super admin privileges when set to `true`, [granting unrestricted access](/openrag/documentation/data_model/#access-control) to all operations and bypassing standard access controls. This is for debugging |
420
-
|`DEFAULT_FILE_QUOTA`|`int`|`-1`| Default per-user file quota. `<0` disables quotas globally; `>=0` sets the default limit when a user has no explicit quota. |
421
421
|`API_NUM_WORKERS`|`int`|1|Number of uvicorn workers|
422
422
|`PREFERRED_URL_SCHEME`|`string`|`null`| URL scheme (`http` or `https`) used when generating URLs in API responses (e.g., `task_status_url`). When running behind a reverse proxy that terminates SSL, set this to `https` to ensure generated URLs use the correct scheme. If unset, the scheme from the incoming request is used. |
423
423
424
424
425
+
425
426
:::caution[Security Notice]
426
427
Always set a strong **`AUTH_TOKEN`** in production environments. Never leave it empty or use default values in production deployments.
427
428
:::
@@ -438,4 +439,4 @@ Always set a strong **`AUTH_TOKEN`** in production environments. Never leave it
438
439
### Chainlit
439
440
[See this](/openrag/documentation/setup_chainlit_ui_auth/) for chainlit authentification
440
441
441
-
[See this](/openrag/documentation/chainlit_data_persistency/) for chainlit data persistency
442
+
[See this](/openrag/documentation/chainlit_data_persistency/) for chainlit data persistency
0 commit comments