Skip to content

qiangweihewu/mattermost-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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%