Mattermost: Open-Source Team Collaboration
Deploy Mattermost on Pigsty v4.2 and store state in external PostgreSQL.
Mattermost is an open-source team collaboration platform and a private alternative to Slack.
Pigsty v4.2 provides app/mattermost (conf/app/mattermost.yml), which stores app state in external PostgreSQL and persists file directories on host paths.
Quick Start
curl -fsSL https://repo.pigsty.io/get | bash; cd ~/pigsty
./bootstrap
./configure -c app/mattermost
vi pigsty.yml # update passwords and domain
./deploy.yml
./docker.yml
./app.yml
Default endpoints:
http://<IP>:8065http://mm.pigsty
On first access, initialize the admin account in the web UI.
Default Storage and Connections
Default template settings include:
- PostgreSQL URL:
POSTGRES_URL=postgres://dbuser_mattermost:DBUser.Mattermost@<IP>:5432/mattermost?... - Persistent directories:
/data/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes}
Operations
cd /opt/mattermost
make up
make restart
make log
make stop
References
- Mattermost docs: https://docs.mattermost.com/
- Pigsty template: https://github.com/pgsty/pigsty/blob/main/conf/app/mattermost.yml
Feedback
Was this page helpful?
Thanks for the feedback! Please let us know how we can improve.
Sorry to hear that. Please let us know how we can improve.