Matrix

From In The Wings
Revision as of 13:33, 9 April 2024 by Jka (talk | contribs) (Created page with "I am using the Synapse server at home to manage my Matrix instance. These are the steps I need to use in order to get it up and running: * Login to Jetson * cd into /home/jka...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I am using the Synapse server at home to manage my Matrix instance. These are the steps I need to use in order to get it up and running:

  • Login to Jetson
  • cd into /home/jka/synapse
  • Source the python environment for the install: source env/bin/activate
  • Start the service: synctl restart

Configuration File

# 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: "inthewings.net"
pid_file: /home/jka/synapse/homeserver.pid
#listeners:
#  - port: 8008
#    tls: false
#    type: http
#    x_forwarded: true
#    bind_addresses: ['::1', '127.0.0.1', '172.30.0.95']
#    resources:
#      - names: [client, federation]
#        compress: false
listeners:
  - port: 8448
    tls: true
    type: http
    resources:
      - names: [client, federation]
        compress: false
tls_certificate_path: "/home/jka/cert/fullchain.pem"
tls_private_key_path: "/home/jka/cert/privkey.pem"
database:
  name: sqlite3
  args:
    database: /home/jka/synapse/homeserver.db
log_config: "/home/jka/synapse/inthewings.net.log.config"
media_store_path: /home/jka/synapse/media_store
registration_shared_secret: <yoinked>
report_stats: true
macaroon_secret_key: <yoinked>
form_secret: <yoinked>
signing_key_path: "/home/jka/synapse/inthewings.net.signing.key"
trusted_key_servers:
  - server_name: "matrix.org"


# vim:ft=yaml