mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Optimized Docker Matrix Role in Preparation for use on CyMaIS.Cloud Server
This commit is contained in:
30
roles/docker-matrix/vars/bridges.yml
Normal file
30
roles/docker-matrix/vars/bridges.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
bridges_configuration:
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_whatsapp_bridge_database_password }}"
|
||||
database_username: "mautrix_whatsapp_bridge"
|
||||
database_name: "mautrix_whatsapp_bridge"
|
||||
bridge_name: "whatsapp"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_telegram_bridge_database_password }}"
|
||||
database_username: "mautrix_telegram_bridge"
|
||||
database_name: "mautrix_telegram_bridge"
|
||||
bridge_name: "telegram"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_signal_bridge_database_password }}"
|
||||
database_username: "mautrix_signal_bridge"
|
||||
database_name: "mautrix_signal_bridge"
|
||||
bridge_name: "signal"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_slack_bridge_database_password }}"
|
||||
database_username: "mautrix_slack_bridge"
|
||||
database_name: "mautrix_slack_bridge"
|
||||
bridge_name: "slack"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_facebook_bridge_database_password }}"
|
||||
database_username: "mautrix_facebook_bridge"
|
||||
database_name: "mautrix_facebook_bridge"
|
||||
bridge_name: "facebook"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_instagram_bridge_database_password }}"
|
||||
database_username: "mautrix_instagram_bridge"
|
||||
database_name: "mautrix_instagram_bridge"
|
||||
bridge_name: "instagram"
|
@@ -3,7 +3,6 @@ users:
|
||||
administrator:
|
||||
username: "{{users.administrator.username}}" # Accountname of the matrix admin
|
||||
playbook_tags: "setup-all,start" # For the initial update use: install-all,ensure-matrix-users-created,start
|
||||
role: "compose" # Role to setup Matrix. Valid values: ansible, compose
|
||||
server_name: "{{primary_domain}}" # Adress for the account names etc.
|
||||
synapse:
|
||||
version: "latest"
|
||||
@@ -30,3 +29,14 @@ csp:
|
||||
script-src:
|
||||
- "{{ domains.synapse }}"
|
||||
- "https://cdn.jsdelivr.net"
|
||||
plugins:
|
||||
# You need to enable them in the inventory file
|
||||
chatgpt: false
|
||||
facebook: false
|
||||
immesage: false
|
||||
instagram: false
|
||||
signal: false
|
||||
slack: false
|
||||
telegram: false
|
||||
whatsapp: false
|
||||
|
||||
|
@@ -1,38 +1,5 @@
|
||||
---
|
||||
application_id: "matrix"
|
||||
application_id: "matrix"
|
||||
database_type: "postgres"
|
||||
registration_file_folder: "/data/"
|
||||
well_known_directory: "{{nginx.directories.data.well_known}}/matrix/"
|
||||
|
||||
bridges:
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_whatsapp_bridge_database_password }}"
|
||||
database_username: "mautrix_whatsapp_bridge"
|
||||
database_name: "mautrix_whatsapp_bridge"
|
||||
bridge_name: "whatsapp"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_telegram_bridge_database_password }}"
|
||||
database_username: "mautrix_telegram_bridge"
|
||||
database_name: "mautrix_telegram_bridge"
|
||||
bridge_name: "telegram"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_signal_bridge_database_password }}"
|
||||
database_username: "mautrix_signal_bridge"
|
||||
database_name: "mautrix_signal_bridge"
|
||||
bridge_name: "signal"
|
||||
|
||||
# Deactivated temporary, due to bug which is hard to find
|
||||
# @todo Reactivate
|
||||
# - database_password: "{{ applications[application_id].credentials.mautrix_slack_bridge_database_password }}"
|
||||
# database_username: "mautrix_slack_bridge"
|
||||
# database_name: "mautrix_slack_bridge"
|
||||
# bridge_name: "slack"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_facebook_bridge_database_password }}"
|
||||
database_username: "mautrix_facebook_bridge"
|
||||
database_name: "mautrix_facebook_bridge"
|
||||
bridge_name: "facebook"
|
||||
|
||||
- database_password: "{{ applications[application_id].credentials.mautrix_instagram_bridge_database_password }}"
|
||||
database_username: "mautrix_instagram_bridge"
|
||||
database_name: "mautrix_instagram_bridge"
|
||||
bridge_name: "instagram"
|
||||
well_known_directory: "{{nginx.directories.data.well_known}}/matrix/"
|
Reference in New Issue
Block a user