aboutsummaryrefslogtreecommitdiff
path: root/app/config/configuration/chat/easybridge
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2021-01-18 08:18:21 +0100
committerQuentin <quentin@dufour.io>2021-01-18 08:18:21 +0100
commitad6017eea058f7cb6fdf078783f992a4f45a3e15 (patch)
tree6620bcc9e1ea61a5689b763b9ad8280275e35e76 /app/config/configuration/chat/easybridge
parent79b7273ff2a487d6721d393682c8ad3927467a75 (diff)
parentc642370def01f09d966b3b9c643cfe416ea115cf (diff)
downloadinfrastructure-ad6017eea058f7cb6fdf078783f992a4f45a3e15.tar.gz
infrastructure-ad6017eea058f7cb6fdf078783f992a4f45a3e15.zip
Merge pull request 'Reorganize app/ and add script for secret management' (#29) from test_reorganize into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/infrastructure/pulls/29
Diffstat (limited to 'app/config/configuration/chat/easybridge')
-rw-r--r--app/config/configuration/chat/easybridge/config.json.tpl17
-rw-r--r--app/config/configuration/chat/easybridge/registration.yaml.tpl14
2 files changed, 0 insertions, 31 deletions
diff --git a/app/config/configuration/chat/easybridge/config.json.tpl b/app/config/configuration/chat/easybridge/config.json.tpl
deleted file mode 100644
index 40ecc44..0000000
--- a/app/config/configuration/chat/easybridge/config.json.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "log_level": "info",
- "easybridge_avatar": "/app/easybridge.jpg",
-
- "web_bind_addr": "0.0.0.0:8281",
- "web_url": "https://easybridge.deuxfleurs.fr",
- "web_session_key": "{{ key "secrets/chat/easybridge/web_session_key" | trimSpace }}",
-
- "appservice_bind_addr": "0.0.0.0:8321",
- "registration": "/data/registration.yaml",
- "homeserver_url": "https://im.deuxfleurs.fr",
- "matrix_domain": "deuxfleurs.fr",
- "name_format": "{}_ezbr_",
-
- "db_type": "postgres",
- "db_path": "host=psql-proxy.service.2.cluster.deuxfleurs.fr port=5432 user={{ key "secrets/chat/easybridge/db_user" | trimSpace }} dbname=easybridge password={{ key "secrets/chat/easybridge/db_pass" | trimSpace }} sslmode=disable"
-}
diff --git a/app/config/configuration/chat/easybridge/registration.yaml.tpl b/app/config/configuration/chat/easybridge/registration.yaml.tpl
deleted file mode 100644
index ec098fd..0000000
--- a/app/config/configuration/chat/easybridge/registration.yaml.tpl
+++ /dev/null
@@ -1,14 +0,0 @@
-id: Easybridge
-url: http://easybridge-api.service.2.cluster.deuxfleurs.fr:8321
-as_token: {{ key "secrets/chat/easybridge/as_token" | trimSpace }}
-hs_token: {{ key "secrets/chat/easybridge/hs_token" | trimSpace }}
-sender_localpart: _ezbr_
-rate_limited: false
-namespaces:
- users:
- - exclusive: true
- regex: '@.*_ezbr_'
- aliases:
- - exclusive: true
- regex: '#.*_ezbr_'
- rooms: []