Merge pull request #3823 from statickidz/add-libretranslate-template

Add LibreTranslate template
This commit is contained in:
🏔️ Peak
2024-10-10 13:23:21 +02:00
committed by GitHub
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# documentation: https://libretranslate.com/docs/
# slogan: Free and open-source machine translation API, entirely self-hosted.
# tags: translate, api
# logo: svgs/libretranslate.svg
# port: 5000
services:
libretranslate:
image: "libretranslate/libretranslate:latest"
environment:
- SERVICE_FQDN_LIBRETRANSLATE_5000
- LT_SSL=true
- LT_UPDATE_MODELS=true
- LT_LOAD_ONLY=en,es,fr,de,ja
volumes:
- api-keys:/app/db
- models:/home/libretranslate/.local
healthcheck:
test: ["CMD-SHELL", "./venv/bin/python scripts/healthcheck.py"]