Skip to content

qiangweihewu/mattermost-heroku

This branch is 4 commits ahead of mattermost/mattermost-heroku:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a119c47 · May 17, 2022

History

23 Commits
Aug 23, 2016
Jun 18, 2021
Aug 23, 2016
Aug 23, 2016
Aug 23, 2016
Aug 23, 2016
Feb 14, 2022
May 17, 2022
Mar 26, 2022

Repository files navigation

Deploy Mattermost Team or Enterprise Edition to Heroku

Deploy

Updated version of Mattermost to deploy in HEROKU.

Many thanks to tommyvn for creating the Mattermost-Heroku integration on which this is based.

Deployment to dokku

Dokku is a docker-based alternative to heroku.

Create an application manually and set some defaults:

app="my-app" # set to your apps' name

dokku apps:create $app
# check app.json for a sane default
dokku config:set $app MATTERMOST_DOWNLOAD_URI=https://releases.mattermost.com/6.3.3/mattermost-6.3.3-linux-amd64.tar.gz
# set the variable to disable dropping privileges, see https://github.com/gliderlabs/herokuish/blob/master/README.md#using-herokuish
dokku config:set $app HEROKUISH_SETUIDGUID=false

Create and link a database:

app="my-app" # set to your apps' name

dokku postgres:create $app
dokku postgres:link $app $app

Push this repository to your dokku app:

app="my-app" # set to your apps' name

git remote add dokku "dokku@my-dokku-instance:$app"
git push dokku master

That's it - dokku will output the URL to your Mattermost instance in the log output :)

On first request, you will be asked to set-up the instance.

Configuration

Check app.json and config/config-heroku-template.json for available configuration.

You can apply a specific setting by using dokku config:set $app MY_SETTING=FOO.

About

Run Mattermost on Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.5%
  • Procfile 0.5%