Skip to content

Commit

Permalink
Merge pull request coollabsio#3823 from statickidz/add-libretranslate…
Browse files Browse the repository at this point in the history
…-template

Add LibreTranslate template
  • Loading branch information
peaklabs-dev authored Oct 10, 2024
2 parents 41c20eb + 1f44b23 commit 44c289d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/svgs/libretranslate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions templates/compose/libretranslate.yaml
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 44c289d

Please sign in to comment.