Mattermost is a self-hosted collaboration platform. The i12bretro tutorial uses the official Docker repository, an .env file, PostgreSQL, and a compose profile without Nginx; I retain all 12 numbered actions and replace the sample password with [REDACTED].1

The original video title and author were checked with oEmbed and the video is embedded directly.2
1. Install Docker on Linux
Step 1/12: Log into the Linux device.
Step 2/12: Install the prerequisites and Docker:
| |
2. Clone the repository and prepare .env
Step 3/12: Once Docker is installed, prepare Mattermost:
| |
Step 4/12: Change at least these .env values:
| |
The domain, timezone, and database password are source examples; replace the domain/timezone and create a new local password.
Step 5/12: Press CTRL+O, Enter, CTRL+X to write the changes to .env.
3. Start Mattermost
Step 6/12: Start compose from the Mattermost directory:
| |
Step 7/12: Open:
| |
Replace DNSorIP with the host address; do not expose the service to the Internet without TLS and authentication.
Step 8/12: Click View in Browser.
Step 9/12: Complete the account-creation form.
Step 10/12: Enter an Organization Name, then click Continue.
Step 11/12: Complete the remaining prompts or choose to skip them.
Step 12/12: The Mattermost welcome page running in Docker appears.
4. Checks after the wizard
| |
Back up config, data, logs, plugins, client/plugins, bleve-indexes, and .env outside Git. The source also links Mattermost's official Docker installation documentation; consult it again when the image or compose files change.1
Conclusion
The tutorial's 12-step path is short: install Docker, clone the repository, create persistent directories, edit four .env values, run the no-Nginx compose profile, and finish the port 8065 wizard. Real passwords belong in local secret storage; reverse proxy, TLS, backups, and image-update policy are required before production use.
Sources
i12bretro tutorial 0889 – Mattermost - Secure Collaboration Platform - in Docker , revised 2025-01-14. Independently edited from the numbered HTML page; the sample password is replaced with
[REDACTED]. ↩︎ ↩︎YouTube – Run Mattermost - Secure Collaboration Platform - in Docker — i12bretro video, validated with oEmbed. ↩︎


Góp Ý / Bình Luận / Đánh giá