This commit is contained in:
Bakhai Support 2025-08-01 10:08:35 +05:30
commit 8289ebf4ca
2 changed files with 7 additions and 7 deletions

View file

@ -1,16 +1,16 @@
services:
libretranslate:
container_name: libretranslate
build:
context: .
dockerfile: ./docker/Dockerfile
restart: unless-stopped
image: libretranslate/libretranslate:latest
ports:
- "5000:5000"
## Uncomment this for logging in docker compose logs
# tty: true
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
interval: 10s
timeout: 4s
retries: 4
start_period: 5s
## 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 libretranslate_api_keys volume if you want to backup your API keys