infrastructure/ansible/roles/pve_docker/files/synapse/homeserver.yml

80 lines
1.3 KiB
YAML
Raw Normal View History

# Just the keys I need. See https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml
2020-02-09 14:15:46 +00:00
## Server ##
2020-03-25 21:27:15 +00:00
server_name: theorangeone.net
2020-02-09 14:15:46 +00:00
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
## TLS ##
acme:
# ACME support is disabled by default. Set this to `true` and uncomment
# tls_certificate_path and tls_private_key_path above to enable it.
#
enabled: false
2020-02-09 14:15:46 +00:00
## Database ##
database:
# The database engine name
2020-03-25 21:27:15 +00:00
name: psycopg2
2020-02-09 14:15:46 +00:00
# Arguments to pass to the engine
args:
user: synapse
password: synapse
database: synapse
host: db
## Logging ##
2020-03-25 21:27:15 +00:00
log_config: /data/theorangeone.net.log.config
2020-02-09 14:15:46 +00:00
## Media Store ##
2020-03-25 21:27:15 +00:00
media_store_path: /data/media_store
2020-02-09 14:15:46 +00:00
2020-03-25 21:27:15 +00:00
uploads_path: /data/uploads
2020-02-09 14:15:46 +00:00
## Registration ##
registration_shared_secret: "{{ synapse.registration_shared_secret }}"
## Metrics ###
report_stats: true
## API Configuration ##
macaroon_secret_key: "{{ synapse.macaroon_secret_key }}"
form_secret: "{{ synapse.form_secret }}"
## Signing Keys ##
2020-03-25 21:27:15 +00:00
signing_key_path: /data/theorangeone.net.signing.key
2020-02-09 14:15:46 +00:00
key_refresh_interval: 2w
2020-02-09 14:15:46 +00:00
trusted_key_servers:
2020-03-25 21:27:15 +00:00
- server_name: matrix.org
2020-02-09 14:15:46 +00:00
suppress_key_server_warning: true
## Workers ##
redis:
enabled: true
host: redis
port: 6379