TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deploy Ruby on Rails with Dokku – (Includes Redis, Sidekiq, ARM Servers, Docker)

4 pointsby hbroadbentalmost 2 years ago

4 comments

josegonzalezalmost 2 years ago
Dokku Maintainer here!<p>Awesome post! I&#x27;m reading through it and this struck me as odd:<p><pre><code> &gt; 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 &#x2F;app. </code></pre> Thats definitely incorrect now, and was changed in 0.30.0[1] but I neglected to update the docs. I&#x27;ll get that sorted out now.<p>---<p>The `Procfile` `release` process is there to emulate Heroku&#x27;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&#x2F;not recommended.<p>[1] <a href="https:&#x2F;&#x2F;dokku.com&#x2F;docs&#x2F;appendices&#x2F;0.30.0-migration-guide&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;dokku.com&#x2F;docs&#x2F;appendices&#x2F;0.30.0-migration-guide&#x2F;</a>
评论 #36555001 未加载
hbroadbentalmost 2 years ago
Hey HN — recently, I&#x27;ve been digging into Dokku, and how we can use it to deploy a Ruby on Rails app. I&#x27;ve tried to compile everything I&#x27;ve learnt from a week of tinkering with Hetzner servers, lot&#x27;s of trial and error, and many, many blog posts.<p>I hope you find this useful! I wasn&#x27;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&#x27;d love to hear it.<p>Thanks! Harrison
tuyenhxalmost 2 years ago
Thank you for the post!<p>Wow! The Heztner price is too good to be true. I need to make a migration to it
评论 #36781535 未加载
juansealmost 2 years ago
Great guide!
评论 #36781536 未加载