-
Notifications
You must be signed in to change notification settings - Fork 625
Gateway config (basic)
[[gateway]]
name="gateway1"
enable=true
[[gateway.inout]]
account="protocol.myprotocol"
channel="prtocolchannel"
[[gateway.inout]]
account="protocol2.myprotocol2"
channel="protocol2channel"
See Gateway-config-(channel-rules) to see how protocolchannel
or protocol2channel
should be defined.
To bridge more than one pair of channels, simply define multiple gateways with their associated channels.
Environment variables can be used to override configuration settings, using the form:
MATTERBRIDGE_PROTOCOL_ACCOUNT_KEY
This can be useful to protect secrets when using docker. For example, you can override this config:
[mattermost]
[mattermost.work]
Team="yourteam"
Login="yourlogin"
Password="yourpass"
by using environment variables:
MATTERBRIDGE_MATTERMOST_WORK_TEAM="newteam"
MATTERBRIDGE_MATTERMOST_WORK_LOGIN="newlogin"
MATTERBRIDGE_MATTERMOST_WORK_PASSWORD="newpassword"
Getting started
How to create your config
Discord bot setup
Slack bot setup
MS Teams setup
Deploy
DigitalOcean
Azure
Docker
Heroku
Gateways
Config: basic
Config: channel rules
Discord
Gitter
Hipchat
IRC
Keybase
Matrix
Mattermost
Microsoft Teams
Mumble
Nextcloud Talk
RocketChat
Slack
Sshchat
Steam
Telegram
Twitch
VK
WhatsApp
XMPP
Zulip
Advanced
Mediaserver setup
Service files
Developer
API
Tengo scripting
Making gateways