getfider / fider

Open platform to collect and prioritize feedback
https://fider.io
GNU Affero General Public License v3.0
2.75k stars 620 forks source link

Configuring Multiple Tenants #1128

Open Geraint-Davies opened 1 year ago

Geraint-Davies commented 1 year ago

I don't know if this is released/stable functionality that just hasn't been documented, of if it's still in beta, but does anyone have a working example of a fider instance with more than one tenant?

I've seen a comment in this issue that mentions adding two new environment variables, but that doesn't seem to work for me.

I have added: HOST_MODE: multi and HOST_DOMAIN with my hostname (tried with and without the leading https:// but left it in without the prefix).

The result is expected to be:

That'll turn your app into multi-tenant. Each tenant will have its url as .yoursite.com . You can then later add a custom CNAME if you wish.

but after updating the subdomain value of the tenants table to have a value other than default it doesn't work.

The result I get is the Fider Page not found page now when I visit the hostname. And an unhandled Hmmm... can't reach this page. The server IP address could not be found when I try my subdomain.hostname.net.

I've self hosted, in Azure, using the latest stable docker image getfider/fider:stable

Thanks in advance!