
Deploy modmail
A Discord bot that functions as a shared inbox between staff and members.
modmail-dev/modmail:master
Just deployed
Deploy and Host modmail on Railway
A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
About Hosting modmail
Includes one docker container hosted from the official modmail github image.
Common Use Cases
- Easy hostable without much experience
Dependencies for modmail Hosting
Python, several dependencies to let run a discord bot including the motor libary to connect to a Mongodb cluster.
Deployment Dependencies
Modmail Docs: https://docs.modmail.dev/ (Setup instructions, assistance) Github: https://github.com/modmail-dev/Modmail Deploy Modmail Logviewer:
Why Deploy modmail 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 modmail 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
modmail-dev/modmail:master
ghcr.io/modmail-dev/modmail:masterTOKEN
The token to run your Modmail application under your Discord bot account
OWNERS
The user ID of the Discord accounts you want to set as owner for the bot. Can consist of multiple users, separated by comma.
LOG_URL
Logviewer URL that will be used to view threads in your web browser.
GUILD_ID
The ID of the main Discord server that your bot will operate in.
CONNECTION_URI
The URI the bot will use to connect to your MongoDB instance.

