mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-19 01:56:37 +08:00
docs: update README to change boolean values to strings for environment variables
This commit is contained in:
parent
153472dc84
commit
e755876aa0
@ -52,11 +52,11 @@ oneapi:
|
|||||||
# (optional) SESSION_SECRET set a fixed session secret so that user sessions won't be invalidated after server restart
|
# (optional) SESSION_SECRET set a fixed session secret so that user sessions won't be invalidated after server restart
|
||||||
SESSION_SECRET: xxxxxxx
|
SESSION_SECRET: xxxxxxx
|
||||||
# (optional) DEBUG enable debug mode
|
# (optional) DEBUG enable debug mode
|
||||||
DEBUG: true
|
DEBUG: "true"
|
||||||
# (optional) DEBUG_SQL display SQL logs
|
# (optional) DEBUG_SQL display SQL logs
|
||||||
DEBUG_SQL: true
|
DEBUG_SQL: "true"
|
||||||
# (optional) ENFORCE_INCLUDE_USAGE require upstream API responses to include usage field
|
# (optional) ENFORCE_INCLUDE_USAGE require upstream API responses to include usage field
|
||||||
ENFORCE_INCLUDE_USAGE: true
|
ENFORCE_INCLUDE_USAGE: "true"
|
||||||
# (optional) GLOBAL_API_RATE_LIMIT maximum API requests per IP within three minutes, default is 1000
|
# (optional) GLOBAL_API_RATE_LIMIT maximum API requests per IP within three minutes, default is 1000
|
||||||
GLOBAL_API_RATE_LIMIT: 1000
|
GLOBAL_API_RATE_LIMIT: 1000
|
||||||
# (optional) GLOBAL_WEB_RATE_LIMIT maximum web page requests per IP within three minutes, default is 1000
|
# (optional) GLOBAL_WEB_RATE_LIMIT maximum web page requests per IP within three minutes, default is 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user