Compare commits

..

2 Commits

Author SHA1 Message Date
a3d6cdcee1 Number list rather than relying on autoincrement. 2025-07-26 13:55:04 -07:00
a868f874d7 Add file paths. 2025-07-26 13:54:37 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -10,20 +10,20 @@ cp env.example .env
vi .env vi .env
``` ```
1. Run the `prep.sh` file to create the volume mounts. 2. Run the `prep.sh` file to create the volume mounts.
``` ```
./prep.sh ./prep.sh
``` ```
1. If using a temporary location for `models/` such as `/tmp/`, ensure 3. 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
``` ```
1. Start the container up as normal. 4. Start the container up as normal.
``` ```
cp docker-compose.main.yml docker-compose.yml cp docker-compose.main.yml docker-compose.yml

View File

@@ -6,7 +6,7 @@
DIR="$(dirname -- "${BASH_SOURCE[0]}")" DIR="$(dirname -- "${BASH_SOURCE[0]}")"
cd $DIR cd $DIR
source .env source ./.env
## Main ## ## Main ##
@@ -14,7 +14,7 @@ source .env
docker compose down docker compose down
# Create folders. # Create folders.
prep.sh ./prep.sh
# Start the container. # Start the container.
docker compose up -d docker compose up -d