Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

680 B
Raw Blame
# documentation: https://libretranslate.com/docs/
# slogan: Free and open-source machine translation API, entirely self-hosted.
# category: ai
# tags: translate, api
# logo: svgs/libretranslate.svg
# port: 5000

services:
  libretranslate:
    image: "libretranslate/libretranslate:latest"
    environment:
      - SERVICE_URL_LIBRETRANSLATE_5000
      - LT_SSL=${LT_SSL:-true}
      - LT_UPDATE_MODELS=${LT_UPDATE_MODELS:-true}
      - LT_LOAD_ONLY=${LT_LOAD_ONLY:-en,es,fr,de,ja}
    volumes:
      - libretranslate-api-keys:/app/db
      - libretranslate-models:/home/libretranslate/.local
    healthcheck:
      test: ["CMD-SHELL", "./venv/bin/python scripts/healthcheck.py"]