updated with proper variables for environment

This commit is contained in:
2026-03-20 12:32:24 -06:00
parent 82236c4a8a
commit b296f0308e
8 changed files with 123 additions and 53 deletions

View File

@@ -0,0 +1,4 @@
[commands]
upgrade_type = security
apply_updates = yes
download_updates = yes

View File

@@ -1,4 +1,6 @@
server_name: "{{ matrix_domain }}"
trusted_key_servers:
- server_name: "{{ matrix_domain }}"
listeners:
- port: {{ synapse_http_port }}
@@ -28,4 +30,21 @@ oidc_providers:
issuer: "https://accounts.google.com"
client_id: "{{ google_oidc_client_id }}"
client_secret: "{{ google_oidc_client_secret }}"
scopes: {{ google_oidc_scopes | to_nice_yaml | indent(6) }}
scopes: {{ google_oidc_scopes | to_nice_yaml | indent(6) }}
# -----------------------------------------------------------------
# Database provider
#------------------------------------------------------------------
database:
name: sqlite3
args:
database: /data/homeserver.db
log_config: "/data/my.matrix.host.log.config"
media_store_path: /data/media_store
registration_shared_secret: "{{ registration_shared_secret }}"
report_stats: true
macaroon_secret_key: "{{ macaroon_secret_key }}
form_secret: "{{ form_secret }}"
signing_key_path: "/data/my.matrix.host.signing.key"
trusted_key_servers:
- server_name: "matrix.org"

View File

@@ -5,7 +5,7 @@ realm={{ matrix_domain }}
static-auth-secret={{ turn_secret }}
# If your host sits behind NAT and you need to force the public IP, uncomment:
# external-ip=YOUR_PUBLIC_IP
# external-ip={{ public_ipv4 }}
allowed-peer-ip=0.0.0.0/0