Installing Mattermost in Proxmox
Last modified by Mélodie on 2026/03/02 03:40
Installing Mattermost on Proxmox: prerequisites and methods
Installing Mattermost – Memo sheet
1. General principle
- Installation suited for an administrator comfortable with Linux (command line, services, reverse proxy). (source | source)
- Runs on a Linux server (VM, LXC, bare-metal, or via Docker containers). (source | source)
2. Recommended server type
3. Required software components
- System: Linux server distribution (Ubuntu 18.04+ or equivalent). (source)
- Database: PostgreSQL (recommended) or MySQL/MariaDB. (source | source | source)
- Web server / reverse proxy: Nginx or Apache. (source | source)
- TLS certificates: Let's Encrypt via Certbot or equivalent (for HTTPS). (source | source)
- System service: systemd unit or equivalent to start Mattermost at boot. (source | source)
4. Main steps for a "classic" installation (VM or LXC)
- Update the system and install required packages (PostgreSQL/MySQL, Nginx/Apache, utilities). (source | source)
- Create the database and dedicated SQL user for Mattermost. (source | source)
- Download and extract the Mattermost archive to a directory (e.g. /opt/mattermost). (source | source)
- Configure config.json (site URL, DB connection, ports, basic options). (source | source)
- Create a dedicated system user and a systemd unit for the Mattermost service. (source | source)
- Configure Nginx/Apache as a reverse proxy to Mattermost, enable HTTPS (Let's Encrypt). (source | source | source)
5. Using Proxmox
- Options:
- Scripts or LXC templates are available to deploy Mattermost directly in Proxmox (automated pre-configuration). (source)
6. Deployment with Docker
- Available images:
- Typical docker-compose setup:
7. Complexity level
- Reasonable for an administrator comfortable with:
- Simpler with: