Deploying an MVP on Heroku, Scalingo or Dokku

Has anyone has had any luck deploying a simple Prefect setup on platforms such as Heroku, Scalingo, Dokku, etc?
So far I can get the UI to work and flow runs picked up by a work queue, but the flow runs never actually run and stay stuck as “Late”.
My Procfile:

web: PREFECT_API_URL="" prefect orion start --host --port $PORT --analytics-off

Custom environment variables set in the interface:


Thanks for your help!

Hi! I haven’t tried that but you can either:

  1. Leverage Prefect Cloud and use Heroku etc. as your agent
  2. Spin up all components using docker-compose as described here:
1 Like