master
Paul Walko 2023-02-22 12:36:41 -05:00
parent 8f84e250aa
commit a01ee46840
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
1. Saves index 1. Saves index
### Multi-tenant ### Multi-tenant
1. Change url to have a `/{tenant}/ path part just after the host, for example `https://trog.bigcavemaps.com/public/search`, or `https://trog.bigcavemaps.com/vpi/search` 1. Change url to have a `/{tenant}/` path part just after the host, for example `https://trog.bigcavemaps.com/public/search`, or `https://trog.bigcavemaps.com/vpi/search`
1. During document indexing, each document has a list of tenants. During search, only documents owned by a given tenant are returned. 1. During document indexing, each document has a list of tenants. During search, only documents owned by a given tenant are returned.
1. Each path has its own password, specified in a hash format as env vars, eg `VPI_PASSWORD=asdf`, `PUBLIC_PASSWORD=`. 1. Each path has its own password, specified in a hash format as env vars, eg `VPI_PASSWORD=asdf`, `PUBLIC_PASSWORD=`.
1. The `public` tenant is all documents that are allowed to be public. 1. The `public` tenant is all documents that are allowed to be public.