LibreTranslate Reboot Fix #6

Merged
me merged 6 commits from dev into main 2025-07-26 13:57:58 -07:00
4 changed files with 35 additions and 9 deletions
Showing only changes of commit 7046699ed6 - Show all commits

View File

@@ -1,8 +1,8 @@
# Libreranslate Configuration # LibreTranslate Configuration
## Install ## 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 cd $DOCKER_HOME/Config/LibreTranslate
@@ -16,14 +16,14 @@ vi .env
./prep.sh ./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. that the reboot script is in `root`'s crontab to set the folders back up.
``` ```
@reboot /opt/Docker/Config/LibreTranslate/cron-reboot.sh @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 cp docker-compose.main.yml docker-compose.yml

View File

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