Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
_ansible/roles/synapse/vars
|
@ -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
|
||||
|
|
Reference in a new issue