02c981b070
This is a breaking change because of the structure change for upstreams. Instead of being an object, it is now a list. Existing configurations are not guaranteed to work. Adds #108 and starts work on #22 (upstream config).
26 lines
No EOL
633 B
YAML
26 lines
No EOL
633 B
YAML
# The web settings for the service (API and UI)
|
|
web:
|
|
port: 8184
|
|
address: '0.0.0.0'
|
|
|
|
# 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
|
|
|
|
# Demo bot configuration. Used purely to show how to configure a self-hosted bot in Dimension
|
|
demobot:
|
|
enabled: false
|
|
userId: "@dimension:t2bot.io"
|
|
homeserverUrl: "https://t2bot.io"
|
|
accessToken: "something"
|
|
|
|
# Upstream configuration. This should almost never change.
|
|
upstreams:
|
|
- name: vector
|
|
url: "https://scalar.vector.im/api" |