infrastructure/ansible/roles/pve_docker/files/synapse/homeserver.yml
Jake Howard 4e5fa59c58
Add redis
This isn't really used as a cache, but it is for a couple bits, so nice to enable it anyway, and it might become so in future
2021-06-12 18:53:50 +01:00

79 lines
1.3 KiB
YAML

# Just the keys I need. See https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml
## Server ##
server_name: theorangeone.net
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
## Database ##
database:
# The database engine name
name: psycopg2
# Arguments to pass to the engine
args:
user: synapse
password: synapse
database: synapse
host: db
## Logging ##
log_config: /data/theorangeone.net.log.config
## Media Store ##
media_store_path: /data/media_store
uploads_path: /data/uploads
## 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 ##
signing_key_path: /data/theorangeone.net.signing.key
key_refresh_interval: 2w
trusted_key_servers:
- server_name: matrix.org
suppress_key_server_warning: true
## Workers ##
redis:
enabled: true
host: redis
port: 6379