Be more specific about the docker home location, rather than accidentally promoting the use of a variable which would not work.
This commit is contained in:
@@ -20,7 +20,7 @@ vi .env
|
|||||||
that `prep.sh` is in `root`'s crontab.
|
that `prep.sh` is in `root`'s crontab.
|
||||||
|
|
||||||
```
|
```
|
||||||
@reboot $DOCKER_HOME/Config/LibreTranslate/prep.sh
|
@reboot /opt/Docker/Config/LibreTranslate/prep.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Start the container up as normal.
|
3. Start the container up as normal.
|
||||||
|
@@ -40,7 +40,8 @@ MODELS_DIR=../../Volumes/LibreTranslate/models
|
|||||||
# MODELS_DIR=
|
# MODELS_DIR=
|
||||||
|
|
||||||
## Storing them in /tmp/ will cause them to get reset after reboots, but hides
|
## Storing them in /tmp/ will cause them to get reset after reboots, but hides
|
||||||
## them from backup type locations such as Volumes/LibreTranslate and /var/.
|
## them from backup type locations such as Volumes/LibreTranslate/ and /var/.
|
||||||
## This will require a CRON entry for prepping the project after a reboot.
|
## This will require a CRON entry for prepping the project dirs after a reboot.
|
||||||
## `@reboot $DOCKER_HOME/Config/LibreTranslate/prep.sh`
|
## `@reboot /YOUR_DOCKER_HOME/Config/LibreTranslate/prep.sh`
|
||||||
|
##
|
||||||
# MODELS_DIR=/tmp/LibreTranslate/models
|
# MODELS_DIR=/tmp/LibreTranslate/models
|
||||||
|
Reference in New Issue
Block a user