mirror of
https://git.anonymousland.org/anonymousland/synapse-captcha.git
synced 2024-10-01 08:25:43 -04:00
39 lines
942 B
YAML
39 lines
942 B
YAML
server_location: 'http://synapse:8008'
|
|
server_name: 'matrix.org'
|
|
shared_secret: 'RegistrationSharedSecret'
|
|
base_url: ''
|
|
riot_instance: 'https://riot.im/app/'
|
|
db: 'sqlite:////data/db.sqlite3'
|
|
host: '0.0.0.0'
|
|
port: 5000
|
|
rate_limit: ["10000 per day", "100 per minute"]
|
|
allow_cors: false
|
|
logging:
|
|
disable_existing_loggers: False
|
|
version: 1
|
|
root:
|
|
level: DEBUG
|
|
handlers: [console, file]
|
|
formatters:
|
|
brief:
|
|
format: '%(name)s - %(levelname)s - %(message)s'
|
|
precise:
|
|
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
|
handlers:
|
|
console:
|
|
class: logging.StreamHandler
|
|
level: INFO
|
|
formatter: brief
|
|
stream: ext://sys.stdout
|
|
file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
formatter: precise
|
|
level: INFO
|
|
filename: m_reg.log
|
|
maxBytes: 10485760 # 10MB
|
|
backupCount: 3
|
|
encoding: utf8
|
|
# password requirements
|
|
password:
|
|
min_length: 8
|