-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
17 lines (13 loc) · 857 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ENABLE_API_TOKEN=false
API_TOKEN=
APP_ENV=production
LISTEN_HOST=0.0.0.0
LISTEN_PORT=5000
# (Required. Default: langdetect. Options: langdetect or fast_langdetect) Set this with language detection model library. langdetect was used as detection library in LibreTranslate while fast_langdetect were another faster alternative.
LANGUAGE_DETECTION_MODEL=langdetect
# (Optional. Default: false. Options: true or false) Parameters will be used when LANGUAGE_DETECTION_MODEL=fast_langdetect . Check https://github.com/LlmKira/fast-langdetect for more information
LOW_MEMORY_MODE=false
# (Optional. Default: false. Options: true or false) Check whether the cache will be enabled or not
ENABLE_CACHE=false
# (Optional. Default: 60. Options: integer value) Duration of cache in seconds. Parameter will be used when the cache is enabled
CACHE_DURATION_SECONDS=60