Update site-operations.md (#1627)

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-13 22:07:44 +05:30
committed by GitHub
parent 340e09d248
commit 65a0ac2e7f

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>