mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Possible to deploy to Dokku?

Open cwerner opened this issue 2 years ago • 3 comments

Hi 👋

i just discovered MLEM and was intrigued by the deploy options. In the tutorial it is mentioned that one can deploy to Heroku. Since dokku also uses heroku buildpacks I was wondering if dokku could be a deploy target, too?

Cheers

cwerner avatar Apr 29 '22 13:04 cwerner

We dont use buildpacks with Heroku since we build custom docker images for each model and deploy them to heroku. Dokku docs mention they can work with images too here, but the link is broken I think. Do you know if they dokku really supports this?

mike0sv avatar May 03 '22 15:05 mike0sv

Also, we can try and use it with our docker dir packager and deploy from dockerfile in dokku, but I need to dig deeper into dokku API to say for sure

mike0sv avatar May 03 '22 15:05 mike0sv

Great to hear.

I only ever used the Procfile (heroku build pack) route with dokku, but it seems one can also simply push a Dockerfile... https://dokku.com/docs/deployment/builders/dockerfiles/

Would be a great feature if available since I find dokku a nice cheap on-prem solution for smaller deploys.

Thanks for looking into it

cwerner avatar May 03 '22 15:05 cwerner