Libreranslate Configuration
Install
- Copy
env.example
to.env
and adjust the values as necessary.
cd $DOCKER_HOME/Config/LibreTranslate
cp env.example .env
vi .env
- Run the
prep.sh
file to create the volume mounts.
$DOCKER_HOME/Config/LibreTranslate/prep.sh
- If using a temporary location for
models/
such as/tmp/
, ensure thatprep.sh
is inroot
's crontab.
@reboot $DOCKER_HOME/Config/LibreTranslate/prep.sh
- Start the container up as normal.
docker compose up -d