Refactor everything

This commit is contained in:
Tobias Reisinger 2023-12-14 02:20:13 +01:00
parent 2e100d290f
commit 3f2e60becf
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
69 changed files with 366 additions and 281 deletions
_ansible/roles/synapse/vars

View file

@ -1,5 +1,5 @@
---
svc:
synapse_svc:
name: synapse
domain: matrix.msrg.cc
docker_host: synapse-admin
@ -26,11 +26,11 @@ svc:
pass: "{{ vault_synapse.db.pass }}"
config_path: config
svc_env:
synapse_env:
SYNAPSE_CONFIG_PATH: "{{ ('/', svc.config_path) | path_join }}"
REACT_APP_SERVER: https://matrix.msrg.cc
svc_yml:
synapse_yml:
server_name: msrg.cc
pid_file: "{{ (svc.config_path, 'homeserver.pid') | path_join }}"
public_baseurl: https://matrix.msrg.cc/
@ -102,10 +102,9 @@ svc_yml:
require_transport_security: true
notif_from: Matrix <matrix@serguzim.me>
compose:
synapse_compose:
watchtower: true
env: true
image: ghcr.io/matrix-org/synapse
image: ghcr.io/matrix-org/synapse:v1.98.0
volumes:
- ./config:/config
- media_store:/media_store