Mattermost
Mattermost is an instant messaging software.
In our example, we use the SSH access and consider the following information:
- Account name:
foo - Mattermost directory:
$HOME/mattermost/ - PostgreSQL database:
foo_mattermost- to be created in the Databases > PostgreSQL menu of the administration interface - Port: 8300 (ports between 8300 and 8499 can be used)
Note
[foo] and [version] must be replaced by accurate informations.
Installation
Configuration
A database and its user will have to be created in the Databases menu. Here we create them to be of the form account_mattermost.
Modify the $HOME/mattermost/config/config.json file to put:
- PostgreSQL
Service launch
Create a service with following details:
- Command:
/home/[foo]/mattermost/bin/mattermost - Working directory:
/home/[foo]/mattermost
Site creation
Declare a site, type Reverse proxy with:
- Remote URL:
services-[foo].alwaysdata.net:8300