mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-22 07:51:00 +00:00
Update README.md
This commit is contained in:
parent
ea332b11e6
commit
3480fbde01
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ You can pass application arguments directly to Gunicorn via:
|
||||||
gunicorn --bind 0.0.0.0:5000 'wsgi:app(api_keys=True)'
|
gunicorn --bind 0.0.0.0:5000 'wsgi:app(api_keys=True)'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Run on Kubernetes
|
||||||
|
|
||||||
|
See https://jmrobles.medium.com/libretranslate-your-own-translation-service-on-kubernetes-b46c3e1af630
|
||||||
|
|
||||||
## Manage API Keys
|
## Manage API Keys
|
||||||
|
|
||||||
LibreTranslate supports per-user limit quotas, e.g. you can issue API keys to users so that they can enjoy higher requests limits per minute (if you also set `--req-limit`). By default all users are rate-limited based on `--req-limit`, but passing an optional `api_key` parameter to the REST endpoints allows a user to enjoy higher request limits.
|
LibreTranslate supports per-user limit quotas, e.g. you can issue API keys to users so that they can enjoy higher requests limits per minute (if you also set `--req-limit`). By default all users are rate-limited based on `--req-limit`, but passing an optional `api_key` parameter to the REST endpoints allows a user to enjoy higher request limits.
|
||||||
|
|
Loading…
Reference in a new issue