From bfbd539178a5edb57ba5479a4156b85246d38a50 Mon Sep 17 00:00:00 2001 From: boxswapper Date: Mon, 16 Mar 2026 13:15:47 -0600 Subject: [PATCH] committed matryx default config --- README.md | 9 ++++++- group_vars/all.yml | 67 +++++++++++++++++----------------------------- 2 files changed, 33 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index e7b2e2e..6035c58 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,14 @@ test federation curl https://{{ matrix_domain }}/_matrix/federation/v1/version ``` - +## to generate config files default before deploymenta and templating ## +``` +podman run -it --rm \ + -v "$(pwd)":/data \ + -e SYNAPSE_SERVER_NAME=my.matrix.host \ + -e SYNAPSE_REPORT_STATS=yes \ + docker.io/matrixdotorg/synapse:latest generate +``` | Area | Recommendation | diff --git a/group_vars/all.yml b/group_vars/all.yml index 1972022..b046ca4 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,42 +1,25 @@ -$ANSIBLE_VAULT;1.1;AES256 -64353034326537373762336464383964336133663564333362623733636134633235353362613430 -6639396262306130393035643463333166333437613832310a323130306134366634326365373962 -61663763363964623437633134616365646166303036613863326330333533313230613364653638 -6230303436346137390a313635633366363637636135373736353337613639313538666230393530 -33306661653632666439633566326564623962653063646366366638643235613738346635346263 -31616566666563643866656364373731326238393863663737666435366663633332336436663563 -30336337306562613133346163363539613034373033613834353962656539336131646232383134 -64653735613332643437613733343032356261386266636337353534306264663031613730383331 -63323631383830363034633238396131626636373163636266326632306230616430343038643039 -36663532356436386335386537353739393335343661366366656364656538313866666139383832 -39363933623836353265316536653036626165333436653534323531363734393065346563383264 -32313336313361653337393437326430393465303632326332653735383264646165316238656235 -39313966663934626337303932303366353365663865393764613132306634653830373936326466 -34376431656165323838663137363730303833646330653165623238393061653763363636626265 -61333036646663663564333762333535383132396137626639393135343765323165346432343531 -62366132643931643239316633643738363166623030613938326134326235323634656266323234 -39666632303730393161373935383066613834376237323162653833363039333761656232633731 -37366161373931306166636532363362646634306336666135353066353632643138656339343739 -31343966626237343665353963616632396433323138666662323166663337323037343233323539 -62653630376331393532313435356664626639393461356138303833656631613536653338316661 -61383938636339343332376463663334343436303334346230663964613734653763343563633163 -64303764353766643635303637353661626462393933336361653463333739613562343131653032 -39303561633534323537323261323466393437316164366332363832313131376165363234633930 -63373463326132303366303861623630343735633835623437303832653763396538313962396237 -66626165323132633963333137363466613364323031356362393331636661353130313539313831 -66346536323764646464376631353931343034366566373363363532646166303562343131306638 -66383064363964613962646630303634633537623763656336373939376533623637353364626433 -38643162386562643566376133646239386462633931626236613635396662663239633461343061 -65626236633238613663303831653133656664653466346564346535336532336130626662356532 -35393134653131363262613038303332303838323332326232623639653937613935356536343231 -32383131353530633735393730366665386661336139383830653836353239626330633461656132 -65663765303863313733313834393762643537636464356534613263353061333166636434393566 -34656465323335376231373835613566353461663232353138313566653736633631313130653161 -35366230326263626633343031373362623331363735313861356462333765613765363363646230 -38353265396331616666626639396538383261313132363765613332613137653737303562633237 -33306265333732623161356435626432313136626439333861333234373739306331306330626138 -62353861643539323737376561633664383964653533353939303761313036623464356463383931 -31356365626537303061306438626231656665613931386531343439343436646463393632646262 -63356136336437383436346135333435663637336434356232633061656231633336303165393964 -37383063613936396135303835313235666239626530653833343835663763333536323934323065 -36393437313662666134376333303134613035643264643334356136343633336639 +# Variables +matrix_domain: "matrix.example.com" +landing_domain: "example.com" # or same as matrix_domain + path-based routing +podman_user: "matrix" # set to 'root' for rootful +podman_pod_name: "matrix-pod" + +synapse_data_dir: "/var/lib/matrix-synapse" +nginx_config_dir: "/etc/nginx/conf.d" +nginx_webroot: "/var/www/landing" + +# Database (PostgreSQL) +db_name: "synapse" +db_user: "synapse" +db_pass: "{{ synapse_db_pass | mandatory }}" +synapse_db_pass: "supersecretpassword" # use vault for real deployments! + + +matrix_domain: "matrix.example.com" +landing_domain: "example.com" # optional, or use same domain + path-based routing + +# For certbot +certbot_email: "admin@example.com" + +# Static site path +nginx_webroot: "/var/lib/matrix-nginx" \ No newline at end of file