Deploy Discourse
Have meaningful conversations and collaborate anytime, anywhere
Discourse
Just deployed
/shared
Mock Email
Just deployed
Redis
Just deployed
/data
Just deployed
/var/lib/postgresql/data
Deploy and Host Discourse on Railway
Discourse is an open-source discussion platform designed for modern web communities. It provides a rich set of features including real-time discussions, user notifications, and a powerful API, making it an ideal choice for building engaging online forums and communities.
About Hosting Discourse
Hosting Discourse involves setting up a server environment utilizing a bash script to create the relevant Docker configurations. Discourse typically requires a complex setup and configuration to get up and running. You'll need to setup web certificates to serve your requests over HTTPS, and secure your server properly.
Common Use Cases
- Community forums
- Customer support
- Knowledge bases
Dependencies for Discourse Hosting
- PostgreSQL
- Redis
Deployment Dependencies
- Discourse
Implementation Details
Register your admin accounts on the Discourse service domain based on the values of DISCOURSE_DEVELOPER_EMAILS that you configured. A mock SMTP server is provided for testing purposes; this must be replaced when releasing the forum to the public. The login details for the mock SMTP server are under the MAILDEV_WEB_USER and MAILDEV_WEB_PASS variables.
Why Deploy Discourse on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Discourse on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Discourse
discourse/discourse:2026.7.1DISCOURSE_DEVELOPER_EMAILS
The email(s), comma separated, that will be made admin and developer on initial signup. e.g. admin@example.com
Mock Email
maildev/maildev:3.0.0-rc.1Redis
redis:8.2.1