diff --git a/Config/LibreTranslate/docker-compose.main.yml b/Config/LibreTranslate/docker-compose.main.yml index 9da0311..61843e8 100644 --- a/Config/LibreTranslate/docker-compose.main.yml +++ b/Config/LibreTranslate/docker-compose.main.yml @@ -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 diff --git a/Config/LibreTranslate/env.example b/Config/LibreTranslate/env.example index 2222cb6..099ebf0 100644 --- a/Config/LibreTranslate/env.example +++ b/Config/LibreTranslate/env.example @@ -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.