Files
env-docker/Config/LibreTranslate/README.md

32 lines
546 B
Markdown

# Libreranslate Configuration
## Install
0. Copy `env.example` to `.env` and adjust the values as necessary.
```
cd $DOCKER_HOME/Config/LibreTranslate
cp env.example .env
vi .env
```
1. Run the `prep.sh` file to create the volume mounts.
```
./prep.sh
```
2. If using a temporary location for `models/` such as `/tmp/`, ensure
that `prep.sh` is in `root`'s crontab.
```
@reboot /opt/Docker/Config/LibreTranslate/prep.sh
```
3. Start the container up as normal.
```
cp docker-compose.main.yml docker-compose.yml
docker compose up -d
```