1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

add matterbridge

This commit is contained in:
kev 2023-10-13 17:26:13 +08:00
parent 2e7eb38d23
commit 7b9a7e9ef0
4 changed files with 78 additions and 0 deletions

View File

@ -388,6 +388,7 @@ A collection of delicious docker recipes.
- [x] martialblog/limesurvey
- [x] mailhog/mailhog
- [x] linuxserver/mastodon
- [x] 42wim/matterbridge :octocat:
- [x] matrixconduit/matrix-conduit
- [x] getmeili/meilisearch :mag:
- [x] mitmproxy/mitmproxy

8
matterbridge/README.md Normal file
View File

@ -0,0 +1,8 @@
matterbridge
============
[matterbridge][1] is a simple chat bridge.
Letting people be where they want to be.
[1]: https://github.com/42wim/matterbridge

View File

@ -0,0 +1,61 @@
#WARNING: as this file contains credentials, be sure to set correct file permissions
[irc]
[irc.foo]
Server="irc.myfooserver.com:6667"
Nick="matterbot"
# Can also connect to multiple different servers of the same protocol:
[irc]
[irc.bar]
Server="irc.mybarserver.com:6667"
Nick="matterbot"
[telegram]
[telegram.mytelegram]
Token="123456789:FillInYourTokenHereThatIsImportant"
[mattermost]
[mattermost.work]
#do not prefix it wit http:// or https://
Server="yourmattermostserver.domain"
Team="yourteam"
Login="yourlogin"
Password="yourpass"
PrefixMessagesWithNick=true
# Bridge 1: Copy all messages from all rooms to all rooms.
# This shows how you can have multiple rooms in a single bridge.
[[gateway]]
name="cats-are-cool"
enable=true
[[gateway.inout]]
account="irc.foo"
channel="#cats-are-cool"
[[gateway.inout]]
account="irc.bar"
channel="#cats-are-cool"
[[gateway.inout]]
account="telegram.mytelegram"
channel="-1234567890123"
[[gateway.inout]]
account="mattermost.work"
channel="cats-are-cool"
# Bridge 2: Copy some messages from some rooms to some rooms.
# This shows how you can have multiple bridges.
[[gateway]]
name="dog-announcements"
enable=true
[[gateway.in]]
account="irc.foo"
channel="#dog-announcements"
[[gateway.in]]
account="irc.bar"
channel="#dog-announcements"
[[gateway.out]]
account="telegram.mytelegram"
channel="-9876543219876"
[[gateway.out]]
account="mattermost.work"
channel="dog-announcements"

View File

@ -0,0 +1,8 @@
version: '3.8'
services:
matterbridge:
image: 42wim/matterbridge:stable
#command: -debug
volumes:
- ./data:/etc/matterbridge
restart: unless-stopped