Can I host discourse freely heroku app? Create my own small community?
AI-generated summary
The discussion revolves around whether Discourse can be hosted for free on Heroku. Gamer_101 initiates the thread asking if it’s possible to run a small community on Heroku’s free tier. Nam_Nguyen and jomaxro express skepticism, noting Heroku’s limitations with Docker and Discourse’s installation requirements. Gamer_101 shares a Heroku blog post suggesting Docker support, prompting jomaxro to caution that Heroku’s Docker setup may not align with Discourse’s supported install method. Gamer_101 cites Heroku support confirming freedom to host anything, but jomaxro clarifies that while allowed, unsupported custom setups won’t receive community help. cpradio highlights the RAM issue: Discourse needs 1GB RAM + 1GB swap, while Heroku’s free dyno offers only 512MB — likely causing build failures. Gamer_101 notes their community will be small (<1000 users), but cpradio warns the build process itself may timeout. Falco suggests that even 1000 users could collectively fund a low-cost VPS (e.g., Vultr). Later, yatindrarao reports a Redis connection error during deployment, prompting stranger26 to ask for details and share interest in Heroku deployment, linking to Heroku’s container runtime guide. Overall, while technically possible, running Discourse on Heroku’s free tier is strongly discouraged due to resource constraints and lack of official support.
No no no no ![]()
To give more details: you need an environment that can run Docker. As far as I understand heroku cannot run Docker.
Well you can certainly try going through the Supported Install Instructions but I’m not optimistic. Skimming the article makes it sounds like they’ve got a custom docker setup going on - don’t know if that will work.
I spoke to Heroku support and that’s why they replied
You’re welcome to use a free dyno to host anything you’d like. There are several resources available for help setting this up, which you can find using a search engine.
None of us are saying that Discourse isn’t “allowed” on Heroku - we’re simply questioning if the supported install method will work. You’re certainly free to hack together an custom install, but keep in mind we won’t be able to support issues that arise here.
Thanks for quick replies ![]()
You will have a really really hard time using Heroku’s free tier though, as Discourse requires a minimum of 1 GB of RAM (with 1 GB swap). Their free tier is 512 MB.
so discourse run slow or what? I have very few users in my community. No more than 1000
You might not be able to get it to build. The build process is what consumes the most RAM. So that process is very likely to time out.
At 1000 users, if everyone gives half a penny you can pay a VPS with 1GB ram on vultr.com and others.
Hey @Gamer_101,
Is there any progress on this? I am trying to deploy on Heroku but facing Redis:Connection:Error.
Thanks
Is this the guide you followed? Have you fixed the Redis error?
I am interested in running a discourse instance on Heroku too.