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

View file

@ -48,7 +48,7 @@ dependencies = [
"appdirs ==1.4.4",
"APScheduler ==3.9.1",
"translatehtml ==1.5.2",
"argos-translate-files ==1.3.0",
"argos-translate-files ==1.4.0",
"itsdangerous ==2.1.2",
"Werkzeug ==2.3.8",
"requests ==2.31.0",