Skip to content
Snippets Groups Projects
Verified Commit f29c13f5 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add missing synapse configuration files

parent 1d05d27a
No related branches found
No related tags found
No related merge requests found
# Configuration file for Synapse.
server_name: "matrix.aleksis.example.org"
pid_file: %tmp_path%/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: [ '::1', '127.0.0.1' ]
resources:
- names: [ client, federation ]
compress: false
database:
name: sqlite3
args:
database: %tmp_path%/homeserver.db
log_config: "%tmp_path%/matrix.aleksis.example.org.log.config"
media_store_path: "%tmp_path%/media_store"
enable_registration: true
report_stats: false
macaroon_secret_key: "10r.n+HxQVfl~lOU^dJMF9A_*mWgKq3JUO2KVmDJHap:n:R9um"
form_secret: "eYJgrzzEXHsgblxAi3pBmPsNrXrga.OVTKkmb&u64A11V_8axr"
signing_key_path: "%path%/synapse/matrix.aleksis.example.org.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
\ No newline at end of file
# Log configuration for Synapse.
version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
handlers:
file:
class: logging.handlers.TimedRotatingFileHandler
formatter: precise
filename: %tmp_path%/homeserver.log
when: midnight
backupCount: 3 # Does not include the current log file.
encoding: utf8
buffer:
class: synapse.logging.handlers.PeriodicallyFlushingMemoryHandler
target: file
capacity: 10
flushLevel: 30 # Flush immediately for WARNING logs and higher
period: 5
console:
class: logging.StreamHandler
formatter: precise
loggers:
synapse.storage.SQL:
level: INFO
twisted:
handlers: [console]
propagate: false
root:
level: INFO
handlers: [console]
disable_existing_loggers: false
ed25519 a_FtOz KcV7m304LcC+2bniFyYAuDOqTU5jjTtzpGiKzJl9TcY
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment