olimp/arhive_roles/matrix/templates/homeserver.yaml.j2
Administrator 9b4e3144f9 Update 19 files
- /roles/[delete]pve_monitoring/tasks/main.yml
- /roles/[delete]pve_monitoring/templates/pve_exporter_config.yml.j2
- /roles/dashy/tasks/main.yml
- /roles/dashy/templates/conf.yml.j2
- /roles/dashy/templates/docker-compose.yml.j2
- /roles/matrix/files/log.config
- /roles/matrix/tasks/main.yml
- /roles/matrix/templates/docker-compose.yml.j2
- /roles/matrix/templates/homeserver.yaml.j2
- /arhive_roles/[delete]pve_monitoring/tasks/main.yml
- /arhive_roles/[delete]pve_monitoring/templates/pve_exporter_config.yml.j2
- /arhive_roles/dashy/tasks/main.yml
- /arhive_roles/dashy/templates/docker-compose.yml.j2
- /arhive_roles/dashy/templates/conf.yml.j2
- /arhive_roles/matrix/files/log.config
- /arhive_roles/matrix/tasks/main.yml
- /arhive_roles/matrix/templates/docker-compose.yml.j2
- /arhive_roles/matrix/templates/homeserver.yaml.j2
- /inventories/hosts
2025-12-03 14:10:36 +05:00

48 lines
1.3 KiB
Django/Jinja

server_name: "{{ matrix_server_name }}"
pid_file: /data/homeserver.pid
public_baseurl: "https://{{ matrix_domain }}/"
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
args:
user: "{{ matrix_postgres_user }}"
password: "{{ matrix_postgres_password }}"
database: "{{ matrix_postgres_db }}"
host: matrix-postgres
cp_min: 5
cp_max: 10
log_config: "/data/log.config"
media_store_path: /data/media_store
uploads_path: /data/uploads
enable_registration: {{ matrix_registration_enabled | bool | lower }}
enable_registration_without_verification: false
registration_shared_secret: "{{ matrix_synapse_secret }}"
macaroon_secret_key: "{{ matrix_macaroon_secret }}"
form_secret: "{{ matrix_form_secret }}"
report_stats: {{ matrix_report_stats | bool | lower }}
retention:
enabled: true
default_policy:
min_lifetime: 1d
max_lifetime: 30d
url_preview_enabled: true
url_preview_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
max_upload_size: "50M"
federation_domain_whitelist: null
allow_public_rooms_over_federation: true