Skip to content

Commit 79ce026

Browse files
committed
Update docs
1 parent fd87ef8 commit 79ce026

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/content/docs/guides/faq.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ By default language models are loaded from the [argos-index](https://github.com/
1515

1616
In `$HOME/.local/share/argos-translate/packages`. On Windows that's `C:\Users\youruser\.local\share\argos-translate\packages`.
1717

18+
## How do I update the language models in a running docker container?
19+
20+
```bash
21+
docker exec -it libretranslate ./venv/bin/python scripts/install_models.py --update
22+
```
23+
1824
## Can I use LibreTranslate behind a reverse proxy, like Apache2 or Caddy?
1925

2026
Yes, here are config examples for Apache2 and Caddy that redirect a subdomain (with HTTPS certificate) to LibreTranslate running on a docker at localhost.

src/content/docs/guides/installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ libretranslate --load-only en,es,fr
2424

2525
Check the [arguments](#arguments) list for more options.
2626

27+
:::note
28+
In production it's recommended to run LibreTranslate with Gunicorn or Docker (which is setup with Gunicorn) in order to avoid memory leaks.
29+
:::
30+
2731
## With Docker
2832

2933
You can also run the application with [docker](https://docker.com). First clone the repository:

0 commit comments

Comments
 (0)