MirrorNest
← すべてのガイド

Mattermost

Mattermost is a self-hosted, Slack-style messaging platform for teams, with its official Docker Compose deployment intended for smaller, non-clustered installs.

対象: Linux server (Docker)Communication公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるMattermost公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Prerequisites

    Mattermost's Docker deployment is officially supported on Linux only; Docker Engine and Docker Compose 1.28+ are required.

    Mattermost's docs state this deployment method doesn't support clustering/HA out of the box — for large production deployments they recommend Kubernetes instead.

  2. 2Clone the official Docker repository

    git clone https://github.com/mattermost/docker
    cd docker
  3. 3Configure environment variables

    Edit .env to set DOMAIN to your server's hostname and MM_SUPPORTSETTINGS_SUPPORTEMAIL to your support address.

    cp env.example .env
  4. 4Create and set permissions on the data volumes

    mkdir -p ./volumes/app/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes}
    sudo chown -R 2000:2000 ./volumes/app/mattermost
  5. 5Start Mattermost with the bundled NGINX proxy

    docker compose -f docker-compose.yml -f docker-compose.nginx.yml up -d
  6. 6Log in and finish setup

    Visit https://<your-domain>/ and create the first admin account through Mattermost's on-screen setup flow.