1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-10-30 23:37:48 +02:00

Add ref to tty: true

This commit is contained in:
Piero Toffanin
2025-08-20 20:18:47 -04:00
parent d079af25ca
commit 219d629f8f
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ services:
- driver: nvidia
count: 1
capabilities: [gpu]
## Uncomment this for logging in docker compose logs
# tty: true
# './venv/bin/python is not implemented in the cuda docker yet
# healthcheck:
# test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']

View File

@@ -11,6 +11,8 @@ services:
timeout: 4s
retries: 4
start_period: 5s
## Uncomment this for logging in docker compose logs
# tty: true
## 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