Edit Docs for retrieving Assets volume

This commit is contained in:
Salah Aldin Fateh 2023-02-07 15:11:34 +03:00
parent 5c2c8bf09d
commit a1423c19d3
2 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,7 @@ Now you need to specify command and environment variables for following containe
For `frontend` service to act as static assets frontend and reverse proxy, you need to pass `nginx-entrypoint.sh` as container `command` and `BACKEND` and `SOCKETIO` environment variables pointing `{host}:{port}` for gunicorn and websocket services. Check [environment variables](environment-variables.md)
Now you only need to mount the `sites` volume at location `/home/frappe/frappe-bench/sites`. No need for `assets` volume and asset population script or steps.
Now you only need to mount the `sites` volume at location `/home/frappe/frappe-bench/sites`.
Example change:

View file

@ -121,6 +121,9 @@ docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml pull
# Stop containers
docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml down
# Remove assets volume for repopulation
docker volume rm <name of assets volume>
# Restart containers
docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml up -d
```