diff --git a/files/homeserver.yaml b/files/homeserver.yaml new file mode 100644 index 0000000..435dbc5 --- /dev/null +++ b/files/homeserver.yaml @@ -0,0 +1,61 @@ +# 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: "matrix.foo.bar" +public_baseurl: "https://matrix.foo.bar/" +pid_file: /data/homeserver.pid +listeners: + - port: 8008 + resources: + - compress: false + names: + - client + - federation + tls: false + type: http + x_forwarded: true +database: + name: sqlite3 + args: + database: /data/homeserver.db +log_config: "/data/matrix.foo.bar.log.config" +media_store_path: /data/media_store +#registration_shared_secret: ".9^_" +report_stats: false +macaroon_secret_key: "etO" +form_secret: "lvB" +signing_key_path: "/data/matrix.foo.bar.signing.key" +trusted_key_servers: + - server_name: "matrix.org" +enable_registration: true +enable_registration_without_verification: false +registration_requires_token: true +registration_shared_secret: "[Platzhalter]" +registration_requires_email: true +rc_registration: + per_second: 0.01 + burst_count: 3 + #enable_registration_without_verification: false +email: + enabled: true + smtp_host: "smtp.email.de" + smtp_port: 587 + smtp_user: "matrix@email.de" + smtp_pass: "[E-Mail-Passwort]" + smtp_from: "Matrix Server " + notif_from: "Matrix Server " + enable_notifs: true + smtp_starttls: true + force_starttls: true + notif_for_new_users: true + + +# vim:ft=yaml