---
title: "Deploy Mattermost on StackBlaze"
description: "Channels, threads, files, and ChatOps in one workspace — on your instance. You pay for compute, not per seat."
category: "communication, work"
url: https://www.stackblaze.com/templates/mattermost
---

# Deploy Mattermost

Channels, threads, files, and ChatOps in one workspace — on your instance. You pay for compute, not per seat.

**[Deploy Mattermost on StackBlaze](https://dashboard.stackblaze.com/new/template/mattermost)**

## This stack

- **Web**: Mattermost server
- **PostgreSQL**: managed database · TCP:5432
- **Email**: platform add-on

## What you get

- **Channels and DMs**: Public channels, private channels, and direct messages so the team has one place to talk.
- **Threads and history**: Keep replies in threads. Search the history instead of losing context in a scrollback.
- **Files and ChatOps**: Share files in-channel. Incoming webhooks and slash commands hook deploys and alerts into the same room.
- **HTTPS web access**: Open Mattermost on a public HTTPS hostname. Attach your own domain when you want a branded URL.
- **Your own instance**: Messages and files stay on this instance — not in a shared vendor-managed account.
- **Team Edition**: This template ships the MIT Team Edition. First visitor creates the admin and the first team.

## After you deploy

1. **Open the public URL**: The hostname is on the app page after deploy. First load is account creation — not a login form.
2. **Create the admin**: Email, username, and password at /signup_user_complete. That account owns the instance until you invite others.
3. **Create a team**: Name the team, then add channels. Invite people from the sidebar when you are ready.

## How it is wired

- **Postgres holds the workspace**: Users, teams, channels, and messages live in the attached database. Restart the app and the workspace is still there.
- **Files sit on a volume**: Uploads mount at /mattermost/data. Media survives a restart.
- **Site URL is already set**: MM_SERVICESETTINGS_SITEURL is your public HTTPS hostname so links and invites point here. Attach a custom domain from the dashboard when you want a branded URL.
- **Add CPU when the room is busy**: Raise RAM and CPU on the web app from the dashboard. Postgres scales on its own.

## Common questions

### How do I sign in after deploy?

Open the public URL. The first visitor creates the admin at /signup_user_complete, then creates a team. After that, sign in with that username.

### Where are messages and files stored?

Messages, users, and teams are in the attached Postgres. Uploads live on the data volume. Back up the database if the workspace matters.

### Can I use my own domain?

Yes. Attach a custom domain from the dashboard. SITEURL follows the public hostname so invites and permalinks stay correct.

### Why does the top bar say email is not configured?

Team Edition starts without SMTP. Invites and password resets need outbound mail. Add SMTP settings in System Console when you want those emails.

### Is this Team Edition or Enterprise?

Team Edition (MIT). Advanced compliance and AD/LDAP features are not in this image.

### What does it cost?

You pay for Mattermost and Postgres — compute, storage, and bandwidth — not per seat. Developer is $10/mo with $10 of included usage; a small instance usually stays in that range.

### Can I hook deploys and alerts into a channel?

Yes. Incoming webhooks and slash commands are in Integrations. Point the other system at this instance’s public URL.


Source: https://github.com/mattermost/mattermost
