-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New config on Heroku #758
Comments
The command you posted does not start the gekko UI, and thus nothing that Heroku calls a "Web process". The CLI version of Gekko is a script that keeps running forever, but Heroku is meant for "webservices". So: You should be able to use the UI on heroku (untested, but I don't see why not). But you cannot run the commandline version on Heroku. |
Even still, starting the web process |
Here some context: When using the UI gekko starts a server, which the frontend (webpage) will connect to:
In the UI config those are split up since if you want to run Gekko in the cloud and you want to secure the gekko server so that other people do not have access to this server. You can do this by putting a reverse proxy between the two components:
In this reverse proxy you can configure SSL and BasicAuth (or whatever you want really) so that no one can access the gekko server. This setup is not possible on Heroku (AFAIK), so the only thing you can do is the basic setup above. For the basic setup you configure the api and the UI to use the same port / host / no SSL. |
That's what I thought ^. |
I think you can run everything on heroku, example config:
And you point your browser to: |
Thanks for the help. I'll try a bit more later this weekend...would be great to host on heroku just for simplicity, but at this point I'll probably use a private server. If you have the time to confirm this since you're a little more familiar with the product, it'd probably help a few more people than just me. Thanks! |
Confirmed that your proposed config does not work on heroku. I'm not sure it's possible to start both the api and the ui on heroku. Would be interested if you have success. Thank you for your help. |
Any news on this one ? I'm trying to set an instance on Heroku as well |
When using heroku with the following config, I still get the error
Web process failed to bind to $PORT within 60 seconds of launch
Using a procfile
Scouring the web trying to understand why this wont work (tried 3000 as a string also).
Anything I can do to help?
The text was updated successfully, but these errors were encountered: