Mattermost: Open-Source IM

Build a private team collaboration platform with Mattermost, the open-source Slack alternative.

Mattermost is an open-source team collaboration and messaging platform.

Mattermost provides instant messaging, file sharing, audio/video calls, and more. It’s an open-source alternative to Slack and Microsoft Teams, particularly suitable for enterprises requiring self-hosted deployment.

Quick Start

cd ~/pigsty/app/mattermost
make up     # Start Mattermost with Docker Compose

Access URL: http://mattermost.pigsty or http://10.10.10.10:8065

First-time access requires creating an administrator account.

Features

  • Instant Messaging: Personal and group chat
  • Channel Management: Public and private channels
  • File Sharing: Secure file storage and sharing
  • Audio/Video Calls: Built-in calling functionality
  • Integration Capabilities: Webhooks, Bots, and plugins support
  • Mobile Apps: iOS and Android clients
  • Enterprise-grade: SSO, LDAP, compliance features

Connect to PostgreSQL

Mattermost uses PostgreSQL for data storage. Configure the connection information:

MM_SQLSETTINGS_DRIVERNAME=postgres
MM_SQLSETTINGS_DATASOURCE=postgres://dbuser_mm:[email protected]:5432/mattermost

Last modified 2026-01-06: batch update (cc9e058)