Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple backends #47

Open
tarantegui opened this issue May 31, 2016 · 3 comments
Open

Multiple backends #47

tarantegui opened this issue May 31, 2016 · 3 comments

Comments

@tarantegui
Copy link

It would be great if doorman could manage different backends after login.

Thank you in advance!

@mnutt
Copy link
Member

mnutt commented May 31, 2016

Hi @tarantegui, this is a planned feature! We actually use this in production at my company, you can find the branch at https://github.com/movableink/doorman/tree/multi-domain. I'd like to merge it into master but have had some trouble figuring out how it fits in with Docker. (docker configures via environment variables, which don't play well with complex multi-domain configurations)

@mnutt
Copy link
Member

mnutt commented May 31, 2016

And just to clarify, the way in which it manages multiple backends is that you point different domains/subdomains at doorman and it uses virtualhosts to choose the correct backend.

@pataquets
Copy link
Contributor

pataquets commented May 31, 2016

I would like to help with that. Is the change backwards-compatible with single-domain Doorman?
If a 'default' fallback virtual host already exists, that should be compatible with current Docker tooling.
With an appropiate note in the Docks warning that multi-domain is not (still) available in Docker, we can later figure out how to do it, when code is released.

My suggestion would be a UNIX-style ".d" directory (sites.d or the like) to be included from the root/default config.js where users could bind-mount more virtualhost configs, one per file. How does that sounds to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants