Skip to content

Template · Messaging

Mattermost

Self-hosted team messaging (Team Edition) with Postgres.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Mattermostmattermost/mattermost-team-edition:release-11
Upstream documentation

What gets deployed

2 services in the environment you pick, on the private network of the project.

About this template

mattermost/mattermost-team-edition:release-11 + PostgreSQL 17. Data, plugins and config live on volumes.

After deploy

Open the public URL and create the first (admin) account.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Mattermost

Image: mattermost/mattermost-team-edition:release-11

  • Port 8065/http
  • Public domain with TLS
  • 10 GB volume at /mattermost/data
  • 1 GB volume at /mattermost/config
  • 1 GB volume at /mattermost/plugins
  • 1 GB volume at /mattermost/client/plugins
  • 1 GB volume at /mattermost/bleve-indexes
  • 2 vCPU · 2 GB
  • /api/v4/system/ping

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERmmuserSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBmattermostDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Mattermost

NameValue
MM_SQLSETTINGS_DRIVERNAMEpostgres
MM_SQLSETTINGS_DATASOURCEpostgres://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?sslmode=disable&connect_timeout=10
MM_SERVICESETTINGS_SITEURLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}
MM_SERVICESETTINGS_LISTENADDRESS:8065
MM_BLEVESETTINGS_INDEXDIR/mattermost/bleve-indexes
TZUTC

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/mattermost)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/mattermost)
HTML
<a href="https://skiffly.dev/templates/mattermost"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Mattermost in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.