aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/chat/fb2mx/registration.yaml
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2019-10-26 21:16:24 +0200
committerQuentin <quentin@deuxfleurs.fr>2019-10-26 21:16:24 +0200
commit7a97bbe06c0a8eb7b462d87b128c5ca3154eb582 (patch)
treec39245faa0eb9adb1f7b009c2246f5b9c532de16 /consul/configuration/chat/fb2mx/registration.yaml
parent4c9538d33c1807a8ac75c02db11f955373fd21a8 (diff)
downloadinfrastructure-7a97bbe06c0a8eb7b462d87b128c5ca3154eb582.tar.gz
infrastructure-7a97bbe06c0a8eb7b462d87b128c5ca3154eb582.zip
New seafile version + WIP facebook bridge
Diffstat (limited to 'consul/configuration/chat/fb2mx/registration.yaml')
-rw-r--r--consul/configuration/chat/fb2mx/registration.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/consul/configuration/chat/fb2mx/registration.yaml b/consul/configuration/chat/fb2mx/registration.yaml
new file mode 100644
index 0000000..bbd4293
--- /dev/null
+++ b/consul/configuration/chat/fb2mx/registration.yaml
@@ -0,0 +1,11 @@
+id: facebook
+as_token: '{{ key "secrets/chat/fb2mx/as_token" | trimSpace }}'
+hs_token: '{{ key "secrets/chat/fb2mx/hs_token" | trimSpace }}'
+namespaces:
+ users:
+ - exclusive: true
+ regex: '@facebook_.+:deuxfleurs.fr'
+ group_id: fbusers
+url: http://fb2mx.service.2.cluster.deuxfleurs.fr:29319
+sender_localpart: facebookbot
+rate_limited: false