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/api-env-variables.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ this document is not final and will expand over time. feel free to improve it!
13
13
| API_REDIS_URL ||`redis://localhost:6379`|
14
14
| DISABLED_SERVICES ||`bilibili,youtube`|
15
15
| FORCE_LOCAL_PROCESSING |`never`|`always`|
16
+
| API_ENV_FILE ||`/.env`|
16
17
17
18
[*view details*](#general)
18
19
@@ -111,6 +112,9 @@ when set to `session`, only requests from session (Bearer token) clients will be
111
112
112
113
when set to `always`, all requests will be forced to use on-device processing, no matter the preference.
113
114
115
+
### API_ENV_FILE
116
+
the URL or local path to a `key=value`-style environment variable file. this is used for dynamically reloading environment variables. **not all environment variables are able to be updated by this.** (e.g. the ratelimiters are instantiated when starting cobalt, and cannot be changed)
0 commit comments