Dokku Maintainer here!<p>Awesome post! I'm reading through it and this struck me as odd:<p><pre><code> > For buildpack-based deployments, the location of the app.json file should be at the root of your repository. Dockerfile-based app deploys should have the app.json in the configured WORKDIR directory; otherwise, Dokku defaults to the buildpack app behaviour of looking in /app.
</code></pre>
Thats definitely incorrect now, and was changed in 0.30.0[1] but I neglected to update the docs. I'll get that sorted out now.<p>---<p>The `Procfile` `release` process is there to emulate Heroku's `release` process support.<p>---<p>The cron support in `app.json` does not support running dokku commands, so folks cannot schedule postgres backups in there without doing something spooky/not recommended.<p>[1] <a href="https://dokku.com/docs/appendices/0.30.0-migration-guide/" rel="nofollow noreferrer">https://dokku.com/docs/appendices/0.30.0-migration-guide/</a>
Hey HN — recently, I've been digging into Dokku, and how we can use it to deploy a Ruby on Rails app. I've tried to compile everything I've learnt from a week of tinkering with Hetzner servers, lot's of trial and error, and many, many blog posts.<p>I hope you find this useful! I wasn't too familiar with Dokku before writing this guide (and I still have a lot to learn), to if you have any feedback or suggestions, I'd love to hear it.<p>Thanks! Harrison