mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
Edit Docs for retrieving Assets volume
This commit is contained in:
parent
5c2c8bf09d
commit
a1423c19d3
2 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue