Deploying an MVP on Heroku, Scalingo or Dokku

Hello,
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="https://my_instance.scalingo.io/api" prefect orion start --host 0.0.0.0 --port $PORT --analytics-off

Custom environment variables set in the interface:

PREFECT_ORION_API_HOST=https://my_instance.scalingo.io/
PREFECT_ORION_API_PORT=$PORT

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