{"action":"closed","issue":{"url":"https://api.github.com/repos/deis/deis/issues/2011","repository_url":"https://api.github.com/repos/deis/deis","labels_url":"https://api.github.com/repos/deis/deis/issues/2011/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/2011/comments","events_url":"https://api.github.com/repos/deis/deis/issues/2011/events","html_url":"https://github.com/deis/deis/issues/2011","id":44789941,"number":2011,"title":"Running 2 web processes in one application","user":{"login":"nathansamson","id":93735,"avatar_url":"https://avatars.githubusercontent.com/u/93735?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansamson","html_url":"https://github.com/nathansamson","followers_url":"https://api.github.com/users/nathansamson/followers","following_url":"https://api.github.com/users/nathansamson/following{/other_user}","gists_url":"https://api.github.com/users/nathansamson/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansamson/subscriptions","organizations_url":"https://api.github.com/users/nathansamson/orgs","repos_url":"https://api.github.com/users/nathansamson/repos","events_url":"https://api.github.com/users/nathansamson/events{/privacy}","received_events_url":"https://api.github.com/users/nathansamson/received_events","type":"User","site_admin":false},"labels":[{"id":48900449,"url":"https://api.github.com/repos/deis/deis/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-10-03T10:26:31Z","updated_at":"2017-01-19T23:56:42Z","closed_at":"2017-01-19T23:56:42Z","body":"Hi,\n\nI want to build a Rails Web Application that consists of 2 components.\nA) A public facing website\nB) An internal facing API server\n\nBoth will largely work on the same data, so it makes sense for me to have them in one repository because they act on the same database & same Rails models.\n\nI want both components to be seperataly scalable + the internal facing API server to be hosted on seperate machines in my fleet (and having different firewall rules). I know that this last thing is not really yet possible, but ignore that for a second here.\n\nFeature request: make it possible to have 2 (or more) different Procfile entries (web & web_api for example), that both axpose an HTTP frontend. Nice to have would be that they also use seperate set of domain names, although the probably simpler solution would be to expose them on 2 different public ports (web = 80, web_api = 8080), to make sure the proxy routes correctly.\n\nProposal of a different architecture (eg, using 2 apps) is also welcome, but note that codebase & env settings will be mostly shared...\n"}}
{"actor":{"display_login":"deis-admin"}}