-
Notifications
You must be signed in to change notification settings - Fork 58
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
Proxy-only mode: allowing processes with no commands, + default port #163
base: master
Are you sure you want to change the base?
Conversation
47d6d05
to
d3fe9c5
Compare
@rchampourlier @gnufied Any updates on this? I have an application that configures themes based on hostname and this would provide a way to make invoker start a single rails process plus multiple "hostnames" for that same process in the following way:
I can provide an updated Pull Request if there's interest in this feature |
Couldn't you just use But then may be this feature provides a way of doing this without using |
Minor changes to allow Invoker to run with a config file defining processes without command. With such config, only the DNS / port-proxying feature of Invoker is used.
- Updated the specs after rebasing on master.
4287a22
to
6d256a5
Compare
Hi, Yes, using This PR allows to have no process started by Invoker at all, only using it for proxying. I've rebased the PR from master 😄 @juanger: I'm not sure what needs to be changed on this PR for your use case. Feel free to complete it! Sadly, I'm not using Invoker anymore, I've switched to manual Best, |
@rchampourlier cool. Which OS you use it on btw? Linux or OSX ? Please file a bug report, I would love to debug and fix. Also, looking into the PR. thank you for opening this. |
Any chance this will get merged? I would use this in a heartbeat. |
I'd love to have that feature too |
/cc @kgrz |
In some cases, you want to run your processes manually instead of relying on Invoker. These (minor) changes allow Invoker to be started with a config file defining such processes. In this case, no processes get spawn by Invoker but the DNS / port-proxying part works as expected.
Example of a now valid config file:
You may also add a default config which will redirect any domain.dev to the specified port: