From 7046699ed6fc67badd1032868163dd67f32f31d5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 26 Jul 2025 13:42:12 -0700 Subject: [PATCH] Reapply changes from previous commits. Unsure why the synced branch did not have them if it was up to date. --- Config/LibreTranslate/README.md | 8 ++++---- Config/LibreTranslate/env.example | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Config/LibreTranslate/README.md b/Config/LibreTranslate/README.md index 96504fe..bfdbe42 100644 --- a/Config/LibreTranslate/README.md +++ b/Config/LibreTranslate/README.md @@ -1,8 +1,8 @@ -# Libreranslate Configuration +# LibreTranslate Configuration ## Install -0. Copy `env.example` to `.env` and adjust the values as necessary. +1. Copy `env.example` to `.env` and adjust the values as necessary. ``` cd $DOCKER_HOME/Config/LibreTranslate @@ -16,14 +16,14 @@ vi .env ./prep.sh ``` -2. If using a temporary location for `models/` such as `/tmp/`, ensure +1. If using a temporary location for `models/` such as `/tmp/`, ensure that the reboot script is in `root`'s crontab to set the folders back up. ``` @reboot /opt/Docker/Config/LibreTranslate/cron-reboot.sh ``` -3. Start the container up as normal. +1. Start the container up as normal. ``` cp docker-compose.main.yml docker-compose.yml diff --git a/Config/LibreTranslate/env.example b/Config/LibreTranslate/env.example index 2f13ec2..6c1792c 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.