This commit is contained in:
Paul Walko
2023-02-22 12:36:41 -05:00
förälder 8f84e250aa
incheckning a01ee46840

Visa fil

@@ -26,7 +26,7 @@
1. Saves index
### 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. 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.