aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/chat/fb2mx/registration.yaml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2019-12-04 16:54:59 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2019-12-04 16:54:59 +0100
commit0b3eb8ec1b3ba3691410744f6397437c9832e74d (patch)
tree88dbd13fc1ff2e9a7e3773d88143c8bc68b05a63 /consul/configuration/chat/fb2mx/registration.yaml
parentede3a300e5ac2567ea15db6fe40ddd9b7510d9e3 (diff)
parent08f3ef8c179b499f6b6051ad95a66ea9d352e5f9 (diff)
downloadinfrastructure-0b3eb8ec1b3ba3691410744f6397437c9832e74d.tar.gz
infrastructure-0b3eb8ec1b3ba3691410744f6397437c9832e74d.zip
Merge branch 'master' of gitlab.com:superboum/deuxfleurs.fr
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..c3d8c05
--- /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:deuxfleurs.fr'
+url: http://fb2mx.service.2.cluster.deuxfleurs.fr:29319
+sender_localpart: facebookbot
+rate_limited: false