Files

66 lines
1.4 KiB
YAML

# Configuration example for Matrix Authentication Service.
# Copia este archivo a `config.yaml` y ajusta los valores necesarios.
http:
public_base: https://auth-af2f3d.organic-machine.com/
listeners:
- name: web
resources:
- name: discovery
- name: human
- name: oauth
- name: compat
- name: graphql
- name: assets
binds:
- host: 0.0.0.0
port: 8080
proxy_protocol: false
trusted_proxies:
- 192.168.0.0/16
- 172.16.0.0/12
- 10.0.0.0/10
- 127.0.0.1/8
- fd00::/8
- ::1/128
database:
uri: postgresql://mas_user:mas_password@mas-postgres:5432/mas
max_connections: 5
min_connections: 1
connect_timeout: 30
email:
transport: blackhole
from: '"Matrix Authentication Service" <noreply@auth.local>'
matrix:
kind: synapse
homeserver: matrix-af2f3d.organic-machine.com
endpoint: http://synapse:8008
secret_file: /run/mas/secrets/shared_secret.txt
secrets:
encryption_file: /run/mas/secrets/encryption.key
keys:
- key_file: /run/mas/keys/mas_signing.key
policy:
path: /usr/local/share/mas-cli/policy.wasm
templates:
path: /usr/local/share/mas-cli/templates/
assets_manifest: /usr/local/share/mas-cli/assets/manifest.json
translations_path: /usr/local/share/mas-cli/translations/
compat:
login:
enabled: true
logout:
enabled: true
refresh:
enabled: true
clients: []