mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
docs: Add multi-tenancy support
This commit is contained in:
parent
3015bed17d
commit
b059fdba66
2 changed files with 10 additions and 0 deletions
|
|
@ -107,5 +107,6 @@ First site's Administrator password: admin
|
|||
|
||||
- [Docker Image Development](docs/Docker-Image-Development.md)
|
||||
- [Container Aliases for easier development](docs/container-aliases.md)
|
||||
- [Multi-tenancy Setup in Development (Developing on multiple site)](docs/multi-tenancy.md)
|
||||
- [Bench Console and VSCode Debugger](docs/bench-console-and-vscode-debugger.md)
|
||||
- [Connect to localhost services](docs/connect-to-localhost-services-from-containers-for-local-app-development.md)
|
||||
|
|
|
|||
9
docs/multi-tenancy.md
Normal file
9
docs/multi-tenancy.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Setting up Multi-tenancy
|
||||
If you are in development and want to develop with multiple sites installed, yo have to setup multi-tenancy using the hosts file.
|
||||
This will behave similarly to [multi-tenancy based on DNS in production](https://frappeframework.com/docs/user/en/bench/guides/setup-multitenancy).
|
||||
|
||||
For each site run the following script
|
||||
|
||||
```sh
|
||||
bench --site sitename add-to-hosts
|
||||
```
|
||||
Loading…
Reference in a new issue