Move request characters to the env file.

This commit is contained in:
2025-07-26 12:36:29 -07:00
parent 4aebf1e21d
commit 15f01061ba
2 changed files with 5 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ services:
tty: true
healthcheck:
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
command: --req-limit 100 --char-limit 2000
command: --req-limit $REQUESTS --char-limit $CHARACTERS
environment:
# Allow the saving of API Keys. Requires volume libretranslate_api_keys.
- LT_API_KEYS=true

View File

@@ -12,6 +12,10 @@ COMPOSE_BAKE=true
CPU=2.00
RAM=4.0G
# How much the users are able to utilize the server.
REQUESTS=100
CHARACTERS=2000
### Languages ###
## Check for language model updates on each run.