aboutsummaryrefslogtreecommitdiff
path: root/app/matterbridge/config/matterbridge.toml
diff options
context:
space:
mode:
Diffstat (limited to 'app/matterbridge/config/matterbridge.toml')
-rw-r--r--app/matterbridge/config/matterbridge.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/matterbridge/config/matterbridge.toml b/app/matterbridge/config/matterbridge.toml
new file mode 100644
index 0000000..c3faa5a
--- /dev/null
+++ b/app/matterbridge/config/matterbridge.toml
@@ -0,0 +1,30 @@
+[rocketchat]
+[rocketchat.dravedev]
+Server = "https://rocketchat.drave.quebec:443"
+Login = "{{ key "secrets/matterbridge/rocketchat.drave.quebec_user" | trimSpace }}"
+Password = "{{ key "secrets/matterbridge/rocketchat.drave.quebec_pass" | trimSpace }}"
+PrefixMessagesWithNick=false
+RemoteNickFormat="{NICK}"
+
+
+
+[matrix]
+[matrix.deuxfleurs]
+Server = "https://im.deuxfleurs.fr"
+Login = "{{ key "secrets/matterbridge/im.deuxfleurs.fr_user" | trimSpace }}"
+Password = "{{ key "secrets/matterbridge/im.deuxfleurs.fr_pass" | trimSpace }}"
+PrefixMessagesWithNick=true
+RemoteNickFormat="<{NICK}> "
+
+[[gateway]]
+name = "rfid"
+enable = true
+
+ [[gateway.inout]]
+ account = "rocketchat.dravedev"
+ channel = "rfid"
+
+ [[gateway.inout]]
+ account = "matrix.deuxfleurs"
+ channel = "#rfid:deuxfleurs.fr"
+