Compare commits
2 Commits
7046699ed6
...
a3d6cdcee1
Author | SHA1 | Date | |
---|---|---|---|
a3d6cdcee1 | |||
a868f874d7 |
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user