Compare commits

..

3 Commits

Author SHA1 Message Date
boxswapper
7a9f003cbc updated autojoin rooms 2026-07-20 16:18:51 -06:00
boxswapper
080c0a0e6a correcting key and key location 2026-07-20 15:26:37 -06:00
boxswapper
c6427f2d86 more tsting 2026-07-20 14:44:46 -06:00
4 changed files with 18 additions and 9 deletions

View File

@@ -17,6 +17,15 @@ ansible-playbook deploy_matrix.yml -i inventory/hosts.yml
## Matrix Administration ## ## Matrix Administration ##
[synapse-admin on github](https://github.com/Awesome-Technologies/synapse-admin) [synapse-admin on github](https://github.com/Awesome-Technologies/synapse-admin)
- generate new certificate
```
podman run -it --rm \
-v ~/synapse-data:/data:Z \
-e SYNAPSE_SERVER_NAME=matrix.fpov.space \
-e SYNAPSE_REPORT_STATS=no \
matrixdotorg/synapse:latest generate
```
- Create User - Create User
``` ```
sudo podman exec -it synapse register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008 sudo podman exec -it synapse register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008

View File

@@ -103,11 +103,11 @@
dest: "{{ nginx_html_path }}" dest: "{{ nginx_html_path }}"
mode: "0644" mode: "0644"
# - name: Render Synapse Secret key - name: Render Synapse Secret key
# ansible.builtin.template: ansible.builtin.template:
# src: matrix.fpov.space.signing.key src: matrix.fpov.space.signing.key
# dest: "{{ synapse_secret_key_path }}" dest: "{{ synapse_secret_key_path }}"
# mode: "0644" mode: "0644"
- name: Render Synapse log config file - name: Render Synapse log config file
ansible.builtin.template: ansible.builtin.template:
@@ -190,7 +190,7 @@
- "{{ vol_synapse }}:/data:Z" - "{{ vol_synapse }}:/data:Z"
- "{{ vol_media }}:/data/media_store:Z" - "{{ vol_media }}:/data/media_store:Z"
- "{{ synapse_cfg_path }}:/data/homeserver.yaml:Z" - "{{ synapse_cfg_path }}:/data/homeserver.yaml:Z"
# - "{{ synapse_secret_key_path }}:/data/matrix.fpov.space.signing.key:Z" - "{{ synapse_secret_key_path }}:/data/matrix.fpov.space.signing.key:Z"
- "{{ synapse_log_config }}:/data/matrix.fpov.space.log.config:Z" - "{{ synapse_log_config }}:/data/matrix.fpov.space.log.config:Z"
network: "{{ podman_network }}" network: "{{ podman_network }}"
restart_policy: always restart_policy: always

View File

@@ -33,8 +33,7 @@ registration_requires_token: true
federation_domain_whitelist: [] federation_domain_whitelist: []
auto_join_rooms: auto_join_rooms:
- "#star-citizen:matrix.fpov.space" - "#general:matrix.fpov.space"
- "#welcome:matrix.fpov.space"
max_upload_size: 200M max_upload_size: 200M

View File

@@ -79,6 +79,7 @@ vol_db: postgres_db
vol_kc_db: kc_postgres vol_kc_db: kc_postgres
keycloak_data: kc_data keycloak_data: kc_data
# -------------------------------------------------------------- # --------------------------------------------------------------
# Paths on the target host (temporary files) # Paths on the target host (temporary files)
# -------------------------------------------------------------- # --------------------------------------------------------------
@@ -87,7 +88,7 @@ dynamic_traefik_path: "/tmp/traefik_dynamic.yml"
turn_conf_path: "/tmp/turnserver.conf" turn_conf_path: "/tmp/turnserver.conf"
synapse_cfg_path: "/tmp/homeserver.yaml" synapse_cfg_path: "/tmp/homeserver.yaml"
nginx_html_path: "/tmp/index.html" nginx_html_path: "/tmp/index.html"
synapse_secret_key_path: "/tmp/matrix.fpov.space.signing.key" synapse_secret_key_path: "/opt/matrix.fpov.space.signing.key"
synapse_log_config: "/tmp/matrix.fpov.space.log.config" synapse_log_config: "/tmp/matrix.fpov.space.log.config"
element_config_path: "/tmp/config.json" element_config_path: "/tmp/config.json"