docker-compose/libretranslate/docker-compose.yml

23 lines
686 B
YAML
Raw Normal View History

2023-01-01 10:08:23 +02:00
version: '3.8'
services:
libretranslate:
image: libretranslate/libretranslate:latest
container_name: libretranslate
restart: unless-stopped
environment:
LT_API_KEYS_DB_PATH: /app/db/api_keys.db
LT_HOST: ${LT_HOST}
LT_PORT: ${LT_PORT}
LT_REQ_LIMIT: ${LT_REQ_LIMIT}
LT_BATCH_LIMIT: ${LT_BATCH_LIMIT}
LT_FRONTEND_LANGUAGE_SOURCE: ${LT_FRONTEND_LANGUAGE_SOURCE}
LT_FRONTEND_LANGUAGE_TARGET: ${LT_FRONTEND_LANGUAGE_TARGET}
LT_API_KEYS: ${LT_API_KEYS}
2023-01-01 10:08:23 +02:00
volumes:
- libretranslate:/app/db
- libretranslate:/home/libretranslate/.local
2023-01-01 10:55:33 +02:00
ports:
- ${LT_HOST}:${LT_PORT}:${LT_PORT}
volumes:
libretranslate: