Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
ansible-warpzone
Commits
323067b7
Commit
323067b7
authored
8 years ago
by
void
Browse files
Options
Downloads
Patches
Plain Diff
Konfiguration auf richtige channels umgestellt und dokumentiert
parent
a7f98d18
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webserver/docker_matterbridge/templates/matterbridge.toml
+39
-12
39 additions, 12 deletions
webserver/docker_matterbridge/templates/matterbridge.toml
with
39 additions
and
12 deletions
webserver/docker_matterbridge/templates/matterbridge.toml
+
39
−
12
View file @
323067b7
#This is configuration for matterbridge.
###################################################################
#IRC section
###################################################################
...
...
@@ -6,7 +6,6 @@
[irc]
#You can configure multiple servers "[irc.name]" or "[irc.name2]"
#In this example we use [irc.freenode]
#REQUIRED
[irc.freenode]
#irc server to connect to.
...
...
@@ -75,15 +74,32 @@ ShowJoinPart=false
#### Settings for webhook matterbridge.
#### These settings will not be used when useAPI is enabled
## In der Warpzone-Umgebung kann useAPI nicht verwendet werden,
## da matterbridge kein Login über LDAP kennt.
## Die Anbindung erfolgt daher über WebHooks, die entsprechend im Mattermost
## eingerichtet werden müssen.
#Url is your incoming webhook url as specified in mattermost.
#See account settings - integrations - incoming webhooks on mattermost.
## Die URL wird im Mattermost von einem Admin erzeugt und
## hier hinterlegt.
## Die URL muss von dem matterbridge Prozess erreichbar sein.
#REQUIRED (unless useAPI=true)
URL
=
"{{ mattermost_hook }}"
#Address to listen on for outgoing webhook requests from mattermost.
#See account settings - integrations - outgoing webhooks on mattermost.
#This setting will not be used when using -plus switch which doesn't use
#webhooks
## Da dieser Prozess in einem Docker Container läuft wird als Bind-Adresse 0.0.0.0
## verwendet, der Port wird später über Docker nach außen geleitet.
## Dieser Port muss von dem Mattermost Server aus erreichbar sein.
## Dort muss ein ausgehender Webhook mit dem Content-Type "application/x-www-form-urlencoded"
## eingerichtet werden, der die URL http://172.17.0.1:9999 anspricht.
## Die IP 172.17.0.1 ist die Server-IP des Docker Netzwerkes.
## Dadurch ist der Port nur von den Docker-Prozessen auf diesem Host erreichbar.
#REQUIRED (unless useAPI=true)
BindAddress
=
"0.0.0.0:9999"
...
...
@@ -115,7 +131,7 @@ PrefixMessagesWithNick=false
#Nicks you want to ignore.
#Messages from those users will not be sent to other bridges.
#OPTIONAL
IgnoreNicks
=
"ircspammer1 ircspammer2"
#
IgnoreNicks="ircspammer1 ircspammer2"
#Enable to show users joins/parts from other bridges (only from irc-bridge at the moment)
#OPTIONAL (default false)
...
...
@@ -128,7 +144,12 @@ ShowJoinPart=false
[telegram]
#You can configure multiple servers "[telegram.name]" or "[telegram.name2]"
#In this example we use [telegram.secure]
## In Telegram muss ein Bot erstellt werden, was über den Kontakt @BotFather in Telegram geht.
## Bot erstellen (Funktion /newbot), das API Token wird unten verwendet.
## Die Privacy Funktion des Bots auss auf "DISAABLED" gettellt werden (Funktion: /setprivacy)
## Anschließend muss der Bot in die entsprechende Gruppe eingefügt und dort als Admin eingerichtet werden.
#REQUIRED
[telegram.bot]
#Token to connect with telegram API
...
...
@@ -170,7 +191,6 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
#
#Most of the time [[gateway.in]] and [[gateway.out]] are the same if you
#want bidirectional bridging. You can then use [[gateway.inout]]
#
[[gateway]]
#OPTIONAL (not used for now)
...
...
@@ -203,16 +223,23 @@ enable=true
#rocketchat - #channel (# is required)
#matrix - room internal ID (looks like !QJFqjsGJwmQzbuBfff:matrix.org)
#REQUIRED
#channel="#
warpzone-test
"
#channel="#
somechannel
"
[[gateway.inout]]
account
=
"telegram.bot"
channel
=
"-219678855"
## Der IRC Channel der Wapzone
account
=
"irc.freenode"
channel
=
"#warpzone"
[[gateway.inout]]
## Raum Town-Squre auf dem Warpzone Mattermost Server
account
=
"mattermost.warpzone"
channel
=
"town-square"
[[gateway.inout]]
account
=
"irc.freenode"
channel
=
"#warpzone-test"
## Telegramm Gruppe @warpzone
## Vorgehen um Guppen-ID zu bekommen:
## - Bot in Gruppe einfügen
## - Chatnachricht erstellen
## - https://api.telegram.org/<API Token>/getUpdates ausrufen, die ID findet sich in der Eigenschaft "message.chat.id"
account
=
"telegram.bot"
channel
=
"-199147565"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment