42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Configuration file for Synapse.
 | 
						|
#
 | 
						|
# This is a YAML file: see [1] for a quick introduction. Note in particular
 | 
						|
# that *indentation is important*: all the elements of a list or dictionary
 | 
						|
# should have the same indentation.
 | 
						|
#
 | 
						|
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
 | 
						|
#
 | 
						|
# For more information on how to configure Synapse, including a complete accounting of
 | 
						|
# each option, go to docs/usage/configuration/config_documentation.md or
 | 
						|
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
 | 
						|
server_name: "localhost"
 | 
						|
pid_file: /data/homeserver.pid
 | 
						|
listeners:
 | 
						|
  - port: 8448
 | 
						|
    tls: false
 | 
						|
    type: http
 | 
						|
    x_forwarded: true
 | 
						|
    resources:
 | 
						|
      - names: [client, federation]
 | 
						|
        compress: false
 | 
						|
database:
 | 
						|
  name: sqlite3
 | 
						|
  args:
 | 
						|
    database: /data/homeserver.db
 | 
						|
log_config: "/config/localhost.log.config"
 | 
						|
media_store_path: /data/media_store
 | 
						|
registration_shared_secret: "+oJd9zgvkQpXN-tt;95Wy,AFAdRH+FSTg&LxUXh6ZSvwMJHT;h"
 | 
						|
report_stats: false
 | 
						|
macaroon_secret_key: "d@ck1QkQLxlRg^aB#c#oZeII.oxOS6E2DX;YobP^Vm#iB5pQpd"
 | 
						|
form_secret: "P.uleBJUYc6AM.UOrFF1q7OKH2N5T*Ae2;fGh46;vIHLIQ#JBP"
 | 
						|
signing_key_path: "/config/localhost.signing.key"
 | 
						|
trusted_key_servers:
 | 
						|
  - server_name: "matrix.org"
 | 
						|
# vim:ft=yaml
 | 
						|
matrix_authentication_service:
 | 
						|
  enabled: true
 | 
						|
  endpoint: http://mas:8778/
 | 
						|
  secret: "IhKoLn6jWf1qRRZWvqgaKuIdwD6H0Mvx"
 | 
						|
  # Alternatively, using a file:
 | 
						|
  #secret_file: /path/to/secret.txt
 |