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:
Nicolás Bottini 2022-01-11 18:02:44 +01:00 committed by GitHub
parent f82309e37a
commit 250273f9e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ Environment Variables
-e "BUCKET_DIR=frappe-bench" \ -e "BUCKET_DIR=frappe-bench" \
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \ -v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
--network <project-name>_default \ --network <project-name>_default \
frappe/frappe-worker:$ERPNEXT_VERSION push-backup frappe/frappe-worker:$FRAPPE_VERSION push-backup
``` ```
Note: Note:
@ -157,7 +157,7 @@ docker run \
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \ -v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
-v ./backups:/home/frappe/backups \ -v ./backups:/home/frappe/backups \
--network <project-name>_default \ --network <project-name>_default \
frappe/frappe-worker:$ERPNEXT_VERSION restore-backup frappe/frappe-worker:$FRAPPE_VERSION restore-backup
``` ```
Note: Note:
@ -213,7 +213,7 @@ To execute commands using bench helper.
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \ -v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
--network <project-name>_default \ --network <project-name>_default \
--user frappe \ --user frappe \
frappe/frappe-worker:$ERPNEXT_VERSION bench --help frappe/frappe-worker:$FRAPPE_VERSION bench --help
``` ```
Example command to clear cache Example command to clear cache
@ -223,7 +223,7 @@ Example command to clear cache
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \ -v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
--network <project-name>_default \ --network <project-name>_default \
--user frappe \ --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: Notes: