Update site-operations.md

Added note for -p <project_name> in docker-compose exec command.

https://github.com/frappe/frappe_docker/issues/927
This commit is contained in:
Harmeet Singh 2025-05-11 13:30:03 +05:30 committed by GitHub
parent e104c0b4ea
commit e892d27b31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@
Note:
- Wait for the `db` service to start and `configurator` to exit before trying to create a new site. Usually this takes up to 10 seconds.
- Also you have to pass `-p <project_name>` if `-p` passed previously eg. `docker-compose -p <project_name> exec (rest of the command)`.
```sh
docker-compose exec backend bench new-site --mariadb-user-host-login-scope=% --db-root-password <db-password> --admin-password <admin-password> <site-name>