Compare commits
2
Commits
7046699ed6
...
a3d6cdcee1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3d6cdcee1 | ||
|
|
a868f874d7 |
No files matched your search
@@ -10,20 +10,20 @@ cp env.example .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
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```
|
||||
@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
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
cd $DIR
|
||||
source .env
|
||||
source ./.env
|
||||
|
||||
## Main ##
|
||||
|
||||
@@ -14,7 +14,7 @@ source .env
|
||||
docker compose down
|
||||
|
||||
# Create folders.
|
||||
prep.sh
|
||||
./prep.sh
|
||||
|
||||
# Start the container.
|
||||
docker compose up -d
|
||||
|
||||
Reference in new issue
Block a user