Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betagouv/matterbridge-paas
An inline buildpack for deploying a mattermost-irc bridge on scalingo or heroku
https://github.com/betagouv/matterbridge-paas
heroku scalingo
Last synced: about 2 months ago
JSON representation
An inline buildpack for deploying a mattermost-irc bridge on scalingo or heroku
- Host: GitHub
- URL: https://github.com/betagouv/matterbridge-paas
- Owner: betagouv
- License: mit
- Fork: true (cadecairos/matterbridge-heroku)
- Created: 2021-05-05T17:18:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T08:42:13.000Z (about 2 years ago)
- Last Synced: 2024-04-14T01:01:27.936Z (9 months ago)
- Topics: heroku, scalingo
- Language: Shell
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-scalingo - Github
README
# Matterbridge-PaaS
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
[![Deploy on Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy?source=https://github.com/betagouv/matterbridge-scalingo#master)An inline buildpack for hosting Matterbridge on Heroku.
## Configuration
Configuration happens via environment variables and a configuration
template file.### Environment: Buildpack
- `MATTERBRIDGE_VERSION` Required. Use a [matterbridge git tag][git-tags].
- `MATTERBRIDGE_URL` Optional. Use this to download the binary from a
custom url instead of the tagged release from the official GitHub
repo. (Setting this makes `MATTERBRIDGE_VERSION` ignored.)
* With caution, you may want to use the [latest nightly matterbridge
build](https://bintray.com/42wim/nightly/Matterbridge/_latestVersion)
while waiting on the next official release.### Environment: Matterbridge
Matterbridge has some configuration of its own, which is mostly
documented upstream. For starters, we'll review the most important
aspects:* `DEBUG`. Set to "1" to log all message events across bridges.
Matterbridge uses Viper, and so each value in the TOML configuration can
be set by envvar.Basically, here are the rules:
- Each config envvar is prefixed with `MATTERBRIDGE_`.
- Each nested level of config object is separated by an underscore `_`.
- Any dash in a config key is converted to an underscore `_`.So for example, with this in your TOML config:
```toml
[slack.my-team]
Token="xoxp-xxxxxxxxxxxxxxxxxxxxxxxxxxx"
```You could instead set an environment variable for
`MATTERBRIDGE_SLACK_MY_TEAM_TOKEN` and leave that key out of in the
configuration file template.### Template: Matterbridge
* Edit channel bridge config via [`config/config-template.toml`][config].
[git-tags]: https://github.com/42wim/matterbridge/tags
[config]: config/config-template.toml## Scalingo
You have to launch : `scalingo --app name scale worker:1:S` before the first deploy.