mmouterde / demo-mattermost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo-mattermost

  1. Create a new nodeJS app
  2. You need to set a few environment variables for it to work on Clever Cloud:
  • MM_SERVICESETTINGS_LISTENADDRESS=":8080"
  • MM_SQLSETTINGS_DATASOURCE="<username>:<password>@tcp(<host>:<port>)/<dbname>?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s"
  • If you are using postgresql: MM_SQLSETTINGS_DRIVERNAME="postgres"
  • MM_SQLSETTINGS_MAXOPENCONNS="<maxconnstodb_or_lower>"

To update mattermost, simply change the wget url in the build.sh to the version you want.

About


Languages

Language:Shell 100.0%