mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Added more matrix constants for easier debugging and readability
This commit is contained in:
		| @@ -3,7 +3,7 @@ homeserver: | ||||
|     # The address that this appservice can use to connect to the homeserver. | ||||
|     address: http://synapse:8008 | ||||
|     # The domain of the homeserver (also known as server_name, used for MXIDs, etc). | ||||
|     domain: {{applications | get_app_conf(application_id, 'server_name', True)}} | ||||
|     domain: {{ MATRIX_SERVER_NAME }} | ||||
|  | ||||
|     # What software is the homeserver running? | ||||
|     # Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here. | ||||
| @@ -141,7 +141,7 @@ bridge: | ||||
|     federate_rooms: true | ||||
|     # Servers to always allow double puppeting from | ||||
|     double_puppet_server_map: | ||||
|         {{applications | get_app_conf(application_id, 'server_name', True)}}: {{ MATRIX_SYNAPSE_URL }} | ||||
|         {{ MATRIX_SERVER_NAME }}: {{ MATRIX_SYNAPSE_URL }} | ||||
|     # Allow using double puppeting from any server with a valid client .well-known file. | ||||
|     double_puppet_allow_discovery: false | ||||
|     # Shared secrets for https://github.com/devture/matrix-synapse-shared-secret-auth | ||||
| @@ -150,7 +150,7 @@ bridge: | ||||
|     # instead of users having to find an access token and run `login-matrix` | ||||
|     # manually. | ||||
|     login_shared_secret_map: | ||||
|         {{applications | get_app_conf(application_id, 'server_name', True)}}: {{applications | get_app_conf(application_id, 'credentials.registration_shared_secret', True)}} | ||||
|         {{ MATRIX_SERVER_NAME }}: {{ MATRIX_REGISTRATION_SHARED_SECRET }} | ||||
|  | ||||
|     # Maximum time for handling Matrix events. Duration strings formatted for https://pkg.go.dev/time#ParseDuration | ||||
|     # Null means there's no enforced timeout. | ||||
| @@ -274,8 +274,8 @@ bridge: | ||||
|     #     mxid - Specific user | ||||
|     permissions: | ||||
|         "*": relay | ||||
|         "{{applications | get_app_conf(application_id, 'server_name', True)}}": user | ||||
|         "@{{applications | get_app_conf(application_id, 'users.administrator.username', True)}}:{{applications | get_app_conf(application_id, 'server_name', True)}}": admin | ||||
|         "{{ MATRIX_SERVER_NAME }}": user | ||||
|         "@{{ MATRIX_ADMINISTRATOR_USERNAME }}:{{ MATRIX_SERVER_NAME }}": admin | ||||
|  | ||||
|     # Settings for relay mode | ||||
|     relay: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user