services-garbaye/podman-matrix/README.md

961 B

à faire en root juste après le 05_freshinstall.sh

vim /home/podman-matrix/.local/share/containers/storage/volumes/matrixdotorg_synapse-data/_data/homeserver.yaml

< public_baseurl: https://qlf-matrix.garbaye.fr

< enable_registration: false

< database:
<   name: psycopg2
<     user: synapse
<     password: mysecretpass
<     database: synapse
<     host: synapse-db
<     port: 5432
<     cp_min: 5
<     cp_max: 10

Créer un utilisateur après le ./30_start.sh

podman exec -ti synapse register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008

Reste à faire:

  • Automatiser les corrections dans le homeserver.yaml
  • gérer les UID/GID et comptes utilisés dans les containers ?
  • Password policy ?
  • Fédération+redis l 2831
  • Mettre en place l'enregistrement srv : _matrix._tcp 86400 IN SRV 5 5 443 matrix ou le /.well-known/matrix/server (cf https://github.com/matrix-org/synapse/blob/master/docs/delegate.md)