updated with proper variables for environment
This commit is contained in:
4
templates/automatic.conf.j2
Normal file
4
templates/automatic.conf.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
[commands]
|
||||
upgrade_type = security
|
||||
apply_updates = yes
|
||||
download_updates = yes
|
||||
@@ -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"
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user