Skip to content

Commit 44c289d

Browse files
authored
Merge pull request coollabsio#3823 from statickidz/add-libretranslate-template
Add LibreTranslate template
2 parents 41c20eb + 1f44b23 commit 44c289d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

public/svgs/libretranslate.svg

Lines changed: 1 addition & 0 deletions
Loading

templates/compose/libretranslate.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# documentation: https://libretranslate.com/docs/
2+
# slogan: Free and open-source machine translation API, entirely self-hosted.
3+
# tags: translate, api
4+
# logo: svgs/libretranslate.svg
5+
# port: 5000
6+
7+
services:
8+
libretranslate:
9+
image: "libretranslate/libretranslate:latest"
10+
environment:
11+
- SERVICE_FQDN_LIBRETRANSLATE_5000
12+
- LT_SSL=true
13+
- LT_UPDATE_MODELS=true
14+
- LT_LOAD_ONLY=en,es,fr,de,ja
15+
volumes:
16+
- api-keys:/app/db
17+
- models:/home/libretranslate/.local
18+
healthcheck:
19+
test: ["CMD-SHELL", "./venv/bin/python scripts/healthcheck.py"]

0 commit comments

Comments
 (0)