diff --git a/deploy_matrix.yml b/deploy_matrix.yml index 1ca797d..4f1c610 100644 --- a/deploy_matrix.yml +++ b/deploy_matrix.yml @@ -99,12 +99,13 @@ ansible.builtin.template: src: matrix.fpov.space.signing.key dest: "{{ synapse_secret_key_path }}" - mode: "0600" + mode: "0644" - name: Render Synapse log config file ansible.builtin.template: src: matrix.fpov.space.log.config.j2 dest: "{{ synapse_log_config }}" + mode: "0644" diff --git a/templates/homeserver.yaml.j2 b/templates/homeserver.yaml.j2 index 1fd0edc..cca8805 100644 --- a/templates/homeserver.yaml.j2 +++ b/templates/homeserver.yaml.j2 @@ -29,3 +29,13 @@ form_secret: "{{ form_secret }}" signing_key_path: "/data/matrix.fpov.space.signing.key" trusted_key_servers: - server_name: "{{ matrix_domain }}" + +database: + name: psycopg2 + args: + user: "{{ postgres_user }}" + password: "{{ postgres_pw }}" + database: "{{ postgres_db }}" + host: synapse-db + cp_min: 5 + cp_max: 10 \ No newline at end of file