mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 00:58:56 +01:00 
			
		
		
		
	* Update D4A Configuration D4A had some breaking config changes so this commit fixes them and gets us back into compliance with upstream. And since we run in a docker container we can use the /data/storage default. * Update D4A Configuration to harmonise with bot mode Change the default config for D4A to align with bot mode default in mdad. This should also avert a bit of a mess of a potential bug. * Change D4A Room State Backing Store variable name and fix SPDX Headers * Align D4A config with new schema * Fix D4A Config Lint Error * Update D4A SPDX Entries * Do not use double quotes around `to_json` values --------- Co-authored-by: Slavi Pantaleev <slavi@devture.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
{#
 | 
						|
SPDX-FileCopyrightText: 2024 MDAD project contributors
 | 
						|
SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>
 | 
						|
SPDX-FileCopyrightText: 2024 Suguru Hirahara
 | 
						|
 | 
						|
SPDX-License-Identifier: AGPL-3.0-or-later
 | 
						|
#}
 | 
						|
 | 
						|
homeserver:
 | 
						|
  # The Matrix server name, this will be the name of the server in your Matrix ID.
 | 
						|
  domain: "{{ matrix_domain }}"
 | 
						|
  # The url for the appservice to call the client server API from.
 | 
						|
  url: "{{ matrix_homeserver_url }}"
 | 
						|
 | 
						|
# Database configuration for storing which Mjolnirs have been provisioned.
 | 
						|
db:
 | 
						|
  engine: "postgres"
 | 
						|
  connectionString: "{{ matrix_appservice_draupnir_for_all_database_connection_string }}"
 | 
						|
 | 
						|
# A room you have created that scopes who can access the appservice.
 | 
						|
# See docs/access_control.md
 | 
						|
adminRoom: {{ matrix_appservice_draupnir_for_all_config_adminRoom | to_json }}
 | 
						|
 | 
						|
# This is a web api that the widget connects to in order to interact with the appservice.
 | 
						|
webAPI:
 | 
						|
  port: 9000
 | 
						|
 | 
						|
# The directory the bot should store various bits of information in
 | 
						|
dataPath: "/data"
 | 
						|
 | 
						|
roomStateBackingStore:
 | 
						|
  enabled: {{ matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled | to_json }}
 |