Przeglądaj źródła

using a real conf file for matrix

Breandan Dezendorf 9 miesięcy temu
rodzic
commit
d1a41ecceb
1 zmienionych plików z 12 dodań i 20 usunięć
  1. 12 20
      dezendorf/homelab/k3s/matrix/matrix.yaml

+ 12 - 20
dezendorf/homelab/k3s/matrix/matrix.yaml

@@ -89,18 +89,6 @@ metadata:
   namespace: default
 data:
   matrix-homeserver-yaml: |
-    # This file is maintained as an up-to-date snapshot of the default
-    # homeserver.yaml configuration generated by Synapse. You can find a
-    # complete accounting of possible configuration options at
-    # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
-    #
-    # It is *not* intended to be copied and used as the basis for a real
-    # homeserver.yaml. Instead, if you are starting from scratch, please generate
-    # a fresh config using Synapse by following the instructions in
-    # https://matrix-org.github.io/synapse/latest/setup/installation.html.
-    #
-    ################################################################################
-    
     # Configuration file for Synapse.
     #
     # This is a YAML file: see [1] for a quick introduction. Note in particular
@@ -111,9 +99,9 @@ data:
     #
     # For more information on how to configure Synapse, including a complete accounting of
     # each option, go to docs/usage/configuration/config_documentation.md or
-    # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
-    server_name: "MATRIX.DEZENDORF.NET"
-    pid_file: DATADIR/homeserver.pid
+    # https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
+    server_name: "matrix.dezendorf.net"
+    pid_file: /homeserver.pid
     listeners:
       - port: 8008
         tls: false
@@ -126,9 +114,13 @@ data:
     database:
       name: sqlite3
       args:
-        database: DATADIR/homeserver.db
-    log_config: "CONFDIR/SERVERNAME.log.config"
-    media_store_path: DATADIR/media_store
-    signing_key_path: "CONFDIR/SERVERNAME.signing.key"
+        database: /homeserver.db
+    log_config: "/tmp/matrix.dezendorf.net.log.config"
+    media_store_path: /media_store
+    registration_shared_secret: "9.^i#+7YXwrC^bzKMqkenOZb;9ra6jV0zgZMvO:EBQ.CipL47k"
+    report_stats: false
+    macaroon_secret_key: ".ughvXa0Or.Xv7o5y550cXnTlv.J8*Mq@JAA^1QXuu2bpR@Lpd"
+    form_secret: "iESBV0d@Tg;4~:v5KT3-UX.Kva@.cbJZ9SNU:nWKubPo:X^*Y-"
+    signing_key_path: "/tmp/matrix.dezendorf.net.signing.key"
     trusted_key_servers:
-      - server_name: "matrix.dezendorf.net"
+      - server_name: "matrix.org"