LibreTranslate/docker-compose.yml
2023-01-13 10:24:56 -05:00

22 lines
668 B
YAML

version: "3"
services:
libretranslate:
container_name: libretranslate
build:
context: .
dockerfile: docker/cuda.Dockerfile
restart: unless-stopped
ports:
- "5000:5000"
## Uncomment above command and define your args if necessary
# command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
## Uncomment this section and the `volumes` section if you want to backup your API keys
# environment:
# - LT_API_KEYS_DB_PATH=/app/db/api_keys.db # Same result as `db/api_keys.db` or `./db/api_keys.db`
# volumes:
# - libretranslate_api_keys:/app/db/api_keys.db
# volumes:
# libretranslate_api_keys: