mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
Update site-operations.md to use $FRAPPE_VERSION
Fix references to $ERPNEXT_VERSION when using frappe/frappe-worker so now it uses $FRAPPE_VERSION
This commit is contained in:
parent
f82309e37a
commit
250273f9e2
1 changed files with 4 additions and 4 deletions
|
|
@ -123,7 +123,7 @@ Environment Variables
|
|||
-e "BUCKET_DIR=frappe-bench" \
|
||||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||
--network <project-name>_default \
|
||||
frappe/frappe-worker:$ERPNEXT_VERSION push-backup
|
||||
frappe/frappe-worker:$FRAPPE_VERSION push-backup
|
||||
```
|
||||
|
||||
Note:
|
||||
|
|
@ -157,7 +157,7 @@ docker run \
|
|||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||
-v ./backups:/home/frappe/backups \
|
||||
--network <project-name>_default \
|
||||
frappe/frappe-worker:$ERPNEXT_VERSION restore-backup
|
||||
frappe/frappe-worker:$FRAPPE_VERSION restore-backup
|
||||
```
|
||||
|
||||
Note:
|
||||
|
|
@ -213,7 +213,7 @@ To execute commands using bench helper.
|
|||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||
--network <project-name>_default \
|
||||
--user frappe \
|
||||
frappe/frappe-worker:$ERPNEXT_VERSION bench --help
|
||||
frappe/frappe-worker:$FRAPPE_VERSION bench --help
|
||||
```
|
||||
|
||||
Example command to clear cache
|
||||
|
|
@ -223,7 +223,7 @@ Example command to clear cache
|
|||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||
--network <project-name>_default \
|
||||
--user frappe \
|
||||
frappe/frappe-worker:$ERPNEXT_VERSION bench --site erp.mysite.com clear-cache
|
||||
frappe/frappe-worker:$FRAPPE_VERSION bench --site erp.mysite.com clear-cache
|
||||
```
|
||||
|
||||
Notes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue