Mattermost on Railway

Self-hosted team chat with channels and threads: Mattermost Team Edition with Postgres on Railway.

Official site · License: MIT (Team Edition build); AGPL-3.0 source · 13 Railway templates

Deploy Mattermost on RailwayCompare templates

Mattermost is an open-source team messaging platform with channels, threads, direct messages, file sharing and integrations. It is commonly used as a self-hosted alternative to Slack by teams that want to control their data.

It suits engineering, operations and support teams, ChatOps setups with GitHub, GitLab or Jira, and organisations with data residency or compliance requirements.

The template runs Team Edition. The source is AGPL-3.0, the compiled Team Edition is MIT licensed, and Team Edition has user limits (a warning at 200 and a hard limit at 250 users).

What Mattermost can do

  • Channels, threads and direct messages
  • File sharing and search
  • Webhooks, bots and plugins
  • Mobile and desktop apps
  • System Console for administration
  • Integrations with GitHub, GitLab and Jira

What people use it for

  • Internal chat for teams that want to own their data
  • Self-hosted Slack alternative
  • ChatOps with webhooks and integrations
  • Private spaces for agencies, schools and clubs

Videos

An Introduction to Mattermost · Mattermost
Mattermost: Free Open-source Alternative to Slack · Elestio

Running Mattermost on Railway

The Railway template deploys Mattermost Team Edition v11 with Postgres, which also stores the configuration, and a Railway Bucket for attachments, avatars, emoji and plugins. Because Railway Buckets accept only virtual-hosted S3 requests, a small rclone S3 gateway on the private network sits between Mattermost and the bucket. The server has no volume, so redeploys keep your data. Cost follows the CPU and memory of the Mattermost, gateway and Postgres services plus bucket storage.

Mattermost templates on Railway

Mattermost v11 Team ChatMaintained by Tracklayer
Deploys Mattermost Team Edition 11.11.1, an open-source team chat with channels, threads, direct messages and integrations, on PostgreSQL. Configuration is kept in the database and
2 deployments
Deploy
Mattermost by an independent creator
An open source alternative to Slack and Microsoft Teams.
332 deployments
Deploy
Mattermost [Updated Nov '26] by an independent creator
Mattermost [Nov '26] (Slack Alternative & Secure Messaging) Self Host
94 deployments
Deploy
Mattermost | Secure Self-Hosted Slack Alternative for Teams by an independent creator
Self-host Mattermost on Railway — channels, threads & file sharing.
25 deployments
Deploy
Mattermost by an independent creator
Slack Alternative. Chat, channels, threads, file sharing, search & more
10 deployments
Deploy
Mattermost (with Calls) by an independent creator
Slack alternative with voice calls; files and settings survive redeploys
4 deployments
Deploy
Mattermost by an independent creator
Open-source team chat with channels, threads and file sharing
2 deployments
Deploy
mattermost: slack open-source alternative by an independent creator
deploy easily this slack alternative and start using
2 deployments
Deploy
Mattermost by an independent creator
Team chat on Postgres 17, system admin created on first boot
1 deployments
Deploy
Mattermost by an independent creator
Private team chat with channels, threads, search and file sharing.
0 deployments
Deploy
Mattermost — Self-Hosted Slack Alternative [S3] by an independent creator
Self-host Mattermost — channels, threads, S3 files, Postgres
0 deployments
Deploy
Mattermost | (Just Updated) Slack Alternative Nobody Else Can Claim by an independent creator
Seeds the admin a stock deploy never creates. Files on a volume.
0 deployments
Deploy
Mattermost | Self-Hosted Team Chat with Persistent File Storage by an independent creator
Self-host Mattermost on Railway — channels, threads & uploads that persist.
0 deployments
Deploy

Tracklayer templates are listed first. Other Mattermost templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about Mattermost

Who becomes admin?

The first account created becomes System Admin. Open sign-up is off by default, so create a team and share its invite link.

Do voice and video calls work?

Not the bundled Calls plugin: Railway has no UDP, so it cannot connect. Disable it in System Console or use the Zoom or Microsoft Teams plugin.

Is there a user limit?

Team Edition shows a warning at 200 users and has a hard limit at 250. Larger deployments need a different edition and licence.

Where are files and settings stored?

Files go to the Railway Bucket through the S3 gateway. Settings changed in System Console are stored in Postgres, so they survive redeploys.

Can I use a custom domain?

Yes. Update MM_SERVICESETTINGS_SITEURL after you add it.

Similar apps

Tracklayer maintains the templates marked as such; Mattermost is a trademark of its owners and this site is not affiliated with them.