Skip to content
Snippets Groups Projects
ma1sd.yaml 7.30 KiB

#######################
# Matrix config items #
#######################
# Matrix domain, same as the domain configure in your Homeserver configuration.
# NOTE: in Synapse Homeserver, the Matrix domain is defined as 'server_name' in configuration file.
#
# This is used to build the various identifiers in all the features.
#
# If the hostname of the public URL used to reach your Matrix services is different from your Matrix domain,
# per example matrix.domain.tld vs domain.tld, then use the server.name configuration option.
# See the "Configure" section of the Getting Started guide for more info.
#
matrix:
  domain: 'matrix.warpzone.ms'
  v1: true   # deprecated
  v2: true   # MSC2140 API v2. Riot require enabled V2 API.


################
# Signing keys #
################
# Absolute path for the Identity Server signing keys database.
# /!\ THIS MUST **NOT** BE YOUR HOMESERVER KEYS FILE /!\
# If this path does not exist, it will be auto-generated.
#
# During testing, /var/tmp/ma1sd/keys is a possible value
# For production, recommended location shall be one of the following:
#   - /var/lib/ma1sd/keys
#   - /var/opt/ma1sd/keys
#   - /var/local/ma1sd/keys
#
key:
  path: '/var/ma1sd/keys'


# Path to the SQLite DB file for ma1sd internal storage
# /!\ THIS MUST **NOT** BE YOUR HOMESERVER DATABASE /!\
#
# Examples:
#  - /var/opt/ma1sd/store.db
#  - /var/local/ma1sd/store.db
#  - /var/lib/ma1sd/store.db
#
storage:
# backend: sqlite # or postgresql
  provider:
    sqlite:
      database: '/var/ma1sd/store.db'
#    postgresql:
#      # Wrap all string values with quotes to avoid yaml parsing mistakes
#      database: '//localhost/ma1sd' # or full variant //192.168.1.100:5432/ma1sd_database
#      username: 'ma1sd_user'
#      password: 'ma1sd_password'
#
#      # Pool configuration for postgresql backend.
#      #######
#      # Enable or disable pooling
#      pool: false
#
#      #######
#      # Check database connection before get from pool
#      testBeforeGetFromPool: false # or true
#
#      #######
#      # There is an internal thread which checks each of the database connections as a keep-alive mechanism. This set the
#      # number of milliseconds it sleeps between checks -- default is 30000. To disable the checking thread, set this to
#      # 0 before you start using the connection source.
#      checkConnectionsEveryMillis: 30000
#