Self Hosting
Organization Hosting Modes

Organization Hosting Modes

⚠️
Multi Organization setup is still work in progress

LearnHouse supports Multi Organizations (Multi-Tenacy), which means you can have multiple organizations using the same platform and therefore the same instance of LearnHouse.

Your Organizations will share the same database and have their content, files, users on the database marked by organization_id and every request will be scoped to that organization.


Hello

Single Organization setup

Single Organization setup is the default when installing Learnhouse for the first time.

When using a Single Organization Setup you should refer your Organization's slug in the frontend config file

Frontend Config

apps/web/.env
NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false
NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg

Multi Organization setup

At the moment, only Single Organizations are supported by Self-Hosting.

Frontend Config

apps/web/.env
NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=true