Merge pull request #3823 from statickidz/add-libretranslate-template
Add LibreTranslate template
This commit is contained in:
19
templates/compose/libretranslate.yaml
Normal file
19
templates/compose/libretranslate.yaml
Normal 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"]
|
||||
Reference in New Issue
Block a user