mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
826364e803
This is part of a rewrite for Dimension to better support integrations. Only the bare minimum scalar APIs are implemented at this point - dimension is non-functional.
36 lines
953 B
YAML
36 lines
953 B
YAML
# The web settings for the service (API and UI)
|
|
web:
|
|
port: 8184
|
|
address: '0.0.0.0'
|
|
|
|
# Homeserver configuration (used to proxy some requests to the homeserver for processing)
|
|
homeserver:
|
|
name: "t2bot.io"
|
|
accessToken: "something"
|
|
|
|
# These users can modify the integrations this Dimension supports.
|
|
# To access the admin interface, open Dimension in Riot and click the settings icon.
|
|
admins:
|
|
- "@someone:domain.com"
|
|
|
|
# IPs and CIDR ranges listed here will be blocked from being widgets.
|
|
# Note: Widgets may still be embedded with restricted content, although not through Dimension directly.
|
|
widgetBlacklist:
|
|
- 10.0.0.0/8
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/16
|
|
- 127.0.0.0/8
|
|
|
|
# Where the database for Dimension is
|
|
database:
|
|
file: "dimension.db"
|
|
|
|
# Settings for controlling how logging works
|
|
logging:
|
|
file: logs/dimension.log
|
|
console: true
|
|
consoleLevel: info
|
|
fileLevel: verbose
|
|
rotate:
|
|
size: 52428800 # bytes, default is 50mb
|
|
count: 5 |