Deploy modmail-viewer
Deploy and Host with Railway
modmail-viewer
Just deployed
Template Content
modmail-viewer
ghcr.io/khakers/modmail-viewer:latestMODMAIL_VIEWER_URL
The URL your modmail viewer instance is reachable at (i.e http://127.0.0.1). You'll set this to either your custom domain OR the one railway gives you.
MODMAIL_VIEWER_SECRETKEY
A randomly generated secret key used for signing auth tokens. ANYONE WITH THIS KEY CAN FORGE AUTHENTICATION TOKENS and impersonate any user. Should be at least 32 characters. If you don't provide one, sessions will not persist across restarts.
MODMAIL_VIEWER_MONGODB_URI
URI for your MongoDB instance
MODMAIL_VIEWER_DISCORD_GUILD_ID
The ID of your discord Guild. This should be whatever guild has relevant discord Roles, as it checks the users roles in the provided guild